A SERVICE OF

logo

ZENworks® ESM 3.5 Administrator’s Manual 154
else
Action.Trace("ret = false");
VBScript
Action.SetShieldStateByName "Closed",true
Action.Trace("Start 20 second sleep")
Action.Sleep(20000)
dim ret
ret = Action.ClearFixedShieldState()
if(ret = true) then
Action.Trace("ret = true")
else
Action.Trace("ret = false")
end if
ClearStamp
SwitchLocationByName
Stamp
Note
When setting the Location by name, the name specified MUST EXACTLY match the location specified in
the policy.
JScript
Action.SwitchLocationByName("Base");
Action.Stamp();
Action.Trace("Begin 20 second sleep");
Action.Sleep(20000);
Action.SwitchLocationByName("Base");
Action.ClearStamp();