5 lines
371 B
PowerShell
5 lines
371 B
PowerShell
# $systemDefensePolicyRef is an EPR to the AMT_SystemDefensePolicy object created by the 'Create a System Defense Policy' use case.
|
|
$inputObject = $systemDefensePolicyRef.CreateMethodInput("SetTimeout")
|
|
$inputObject.SetProperty("Timeout", "10")
|
|
$outputObject = $systemDefensePolicyRef.InvokeMethod($inputObject)
|
|
$returnValue = $outputObject.GetProperty("ReturnValue") |