Intel AMT - Failed "Run Script on Task Server" Tasks return code 0 - success
The Scenario: My environment is fully configured to execute PowerShell tasks on clients from site servers. I am using PowerShell to Set and Get the status of the AMT alarm clock.
The issue I'm having is that the task always shows success - even if the underlying Intel AMT task fails.
Here is the "Run Script on Task Server" PowerShell code:
|Start time:||8/5/2013 10:43:32 AM|
|End time:||8/5/2013 10:43:46 AM|
|Total run time:||13 seconds|
|Script:||ComputerName : <redacted>
Port : 16992
NextAlarmTime : Monday, August 05, 2013 3:00:00 AM
PeriodicInterval : P0Y0M01DT00H00M
Status : Failed
I haven't yet made the transition to powershell from vbscript. Does anyone have any tips for getting the status of the Intel AMT PowerShell command to return a failure code to task server when the status returns "Failed"?