A SERVICE OF

logo

ZENworks® ESM 3.5 Administrator’s Manual 156
var ret = Action.DeleteRegistryKey(eLOCAL_MACHINE,"Software\\Novell\\Tester");
if(ret == true)
Action.Trace("Delete Key is Successful");
else
Action.Trace("Delete Key did not work");
VBScript
dim ret
ret = Action.DeleteRegistryKey(eLOCAL_MACHINE,"Software\\Novell\\Tester")
if(ret = true) then
Action.Trace("Delete Key is Successful")
else
Action.Trace("Delete Key did not work")
end if
DeleteRegistryValue
JScript
Action.DeleteRegistryValue(eLOCAL_MACHINE,"Software\\Novell\\Tester","val1");
Action.DeleteRegistryValue(eLOCAL_MACHINE,"Software\\Novell\\Tester","val2");
VBScript
Action.DeleteRegistryValue eLOCAL_MACHINE,"Software\\Novell\\Tester","val1"
Action.DeleteRegistryValue eLOCAL_MACHINE,"Software\\Novell\\Tester","val2"
DisplayMessage
DisplayMessageByName