Novell ZENworks Endpoint Security Management 3.5 Manual do Utilizador Página 155

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 154
ZENworks® ESM 3.5 Administrator’s Manual 155
VBScript
Action.SwitchLocationByName("Base")
Action.Stamp()
Action.Trace("Begin 20 second sleep")
Action.Sleep(20000)
Action.SwitchLocationByName("Base")
Action.ClearStamp()
Details:
Base must be the name of a valid location which can be stamped. This script will then switch to location
Base, then stamp it, sleep for 20 seconds, make sure we didn't spin out of the location by switching back to
base and then clear the stamp. This script performed all actions as expected.
CreateRegistryKey
JScript
var ret = Action.CreateRegistryKey(eLOCAL_MACHINE,"Software\\Novell","Tester");
if(ret == true)
Action.Trace("Create Key is Successful");
else
Action.Trace("Create Key did not work");
VBScript
dim ret
ret = Action.CreateRegistryKey(eLOCAL_MACHINE,"Software\\Novell","Tester")
if(ret = true) then
Action.Trace("Create Key is Successful")
else
Action.Trace("Create Key did not work")
end if
DeleteRegistryKey
JScript
Vista de página 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 244 245

Comentários a estes Manuais

Sem comentários