Novell ZENworks Endpoint Security Management 3.5 Uživatelský manuál Strana 161

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 245
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 160
ZENworks® ESM 3.5 Administrator’s Manual 161
StartService
JScript
Action.StartService("lanmanworkstation","");
VBScript
Action.StartService "lanmanworkstation",""
Details:
Make sure you use the actual service name, not the display name.
StopService
JScript
Action.StopService("lanmanworkstation");
VBScript
Action.StopService "lanmanworkstation"
Details:
Make sure you use the actual service name, not the display name.
WriteRegistryDWORD
WriteRegistryString
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");
Action.WriteRegistryDWORD(eLOCAL_MACHINE,"Software\\Novell\\Tester","val1",24);
Action.WriteRegistryString(eLOCAL_MACHINE,"Software\\Novell\\Tester","val2","Novell");
VBScript
Zobrazit stránku 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 244 245

Komentáře k této Příručce

Žádné komentáře