Novell ZENworks Endpoint Security Management 3.5 Instrukcja Użytkownika Strona 161

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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
Przeglądanie stron 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 244 245

Komentarze do niniejszej Instrukcji

Brak uwag