5 lines
396 B
PowerShell
5 lines
396 B
PowerShell
# Create a reference to the IPS_PowerManagementService class.
|
|
$powerManagementRef = $wsmanConnectionObject.NewReference("Select * from IPS_PowerManagementService Where Name='Intel(r) AMT Power Management Service'")
|
|
#Create an instance to the IPS_PowerManagementService class
|
|
$powerManagementIns = $powerManagementRef.Get()
|
|
$powerSavingState = $powerManagementIns.GetProperty("OSPowerSavingState") |