Precision Mobile Workstations

Last reply by 04-28-2022 Unsolved
Start a Discussion
2 Bronze
2 Bronze
170

Re: DellSMBIOS issue verifying current values

We figured this out! See the working code below for the answer!

        Import-Module -Name DellBIOSProvider -Force
        $PrimaryBattChargeCfg = Get-ChildItem -Path DellSmbios:\PowerManagement\PrimaryBattChargeCfg | % { New-Object psobject -Property @{
            Setting = $_."attribute"
            Value = $_."currentvalue"
            }}  | select-object Setting, Value
        $AdvBatteryChargeCfg = Get-ChildItem -Path DellSmbios:\PowerManagement\AdvBatteryChargeCfg | % { New-Object psobject -Property @{
            Setting = $_."attribute"
            Value = $_."currentvalue"
            }}  | select-object Setting, Value
        $CustomChargeStart = Get-ChildItem -Path DellSmbios:\PowerManagement\CustomChargeStart | % { New-Object psobject -Property @{
            Setting = $_."attribute"
            Value = $_."currentvalue"
            }}  | select-object Setting, Value
        $CustomChargeStop = Get-ChildItem -Path DellSmbios:\PowerManagement\CustomChargeStop  |% { New-Object psobject -Property @{
            Setting = $_."attribute"
            Value = $_."currentvalue"
            }}  | select-object Setting, Value
Replies (0)
Latest Solutions
Top Contributor