Novell ZENworks Endpoint Security Management 3.5 Manual de usuario Pagina 155

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 245
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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 pagina 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 244 245

Comentarios a estos manuales

Sin comentarios