9 lines
685 B
PowerShell
9 lines
685 B
PowerShell
$deviceID = "AAAAAAAAAAAAAAAAAAAAAA==" # The ID of the agent watchdog in Base64 format.
|
|
$agentPresenceWatchdogInstance = $wsmanConnectionObject.NewInstance("AMT_AgentPresenceWatchdog")
|
|
$agentPresenceWatchdogInstance.SetProperty("CreationClassName", "AMT_AgentPresenceWatchdog")
|
|
$agentPresenceWatchdogInstance.SetProperty("DeviceID", $deviceID)
|
|
$agentPresenceWatchdogInstance.SetProperty("StartupInterval", "60")
|
|
$agentPresenceWatchdogInstance.SetProperty("SystemCreationClassName", "CIM_ComputerSystem")
|
|
$agentPresenceWatchdogInstance.SetProperty("SystemName", "Intel(r) AMT")
|
|
$agentPresenceWatchdogInstance.SetProperty("TimeoutInterval", "120")
|
|
$agentPresenceWatchdogInstance.Create() |