7 lines
380 B
PowerShell
7 lines
380 B
PowerShell
if($fwVersion.ToString() -ge "11.0")
|
|
{
|
|
$watchDogActionRef = $wsmanConnectionObject.NewReference("SELECT * FROM IPS_WatchDogAction WHERE InstanceID='Intel (r) AMT Watch Dog Action'")
|
|
$inputObject = $watchDogActionRef.CreateMethodInput("CancelRebootAction")
|
|
$outputObject = $watchDogActionRef.InvokeMethod($inputObject)
|
|
$returnValue = $outputObject.GetProperty("ReturnValue")
|
|
} |