System Administration
1) Getting Local Computer Information
Set objComputer = CreateObject("Shell.LocalMachine")
Wscript.Echo "Computer name: " & objComputer.MachineName
Wscript.Echo "Shutdown allowed: " & objComputer.IsShutdownAllowed
Wscript.Echo "Friendly UI enabled: " & objComputer.IsFriendlyUIEnabled
Wscript.Echo "Guest access mode: " & objComputer.IsGuestAccessMode
Wscript.Echo "Guest account enabled: " & _
objComputer.IsGuestEnabled(0)
Wscript.Echo "Multiple users enabled: " & _
objComputer.IsMultipleUsersEnabled
Wscript.Echo "Offline files enabled: " & _
objComputer.IsOfflineFilesEnabled
Wscript.Echo "Remote connections enabled: " & _
objComputer.IsRemoteConnectionsEnabled
Wscript.Echo "Undock enabled: " & objComputer.IsUndockEnabled
2) Restart a Computer
strComputer = "atl-dc-01"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown)}!\\" & _
strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Reboot()
Next
strComputer = "atl-dc-01"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown)}!\\" & _
strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Reboot()
Next
3) Shut Down a Computer
strComputer = "."
Set objWMIService = GetObject_
("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & _
strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Win32Shutdown(1)
Next
strComputer = "."
Set objWMIService = GetObject_
("winmgmts:{impersonationLevel=impersonate,(Shutdown)}\\" & _
strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
objOperatingSystem.Win32Shutdown(1)
Next
4) Modify System Startup Delay
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colStartupCommands = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")
For Each objStartupCommand in colStartupCommands
objStartupCommand.SystemStartupDelay = 10
objStartupCommand.Put_
Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colStartupCommands = objWMIService.ExecQuery _
("Select * from Win32_ComputerSystem")
For Each objStartupCommand in colStartupCommands
objStartupCommand.SystemStartupDelay = 10
objStartupCommand.Put_
Next
2 comments:
[url=http://is.gd/Ks0wrH][img]http://stomsk.ru/pics/spymobile.ol1[/img][/url]
[url=http://thecondominitiative.webs.com/apps/profile/109034678/]Spy Apps For Iphone 3gs[/url] [url=http://archive.org/details/kesocperaf/]Android Phone Text Monitoring[/url] [url=http://dimitrid.webs.com/apps/profile/109034678/]Track A Mobile Number In Australia[/url] [url=http://newworldmarketing.webs.com/apps/profile/109034678/]Himym Season 1 Episode 1 Watch Online Free [/url] [url=http://lauralen.webs.com/apps/profile/109034678/]Cell Phone Tracking Software Download[/url] http://gmolabeling.webs.com/apps/profile/109034678/ windows mobile spy applications does phone tracker spy pro app work phone tracker spy iphone app
How To Spy On A Cell Phone From My Computer Free
http://shield-lock.co.il/blog/?p=37 how to track a cell phone with imei number how to track stolen iphone 4 types computer telephone monitoring systems
[url=http://thepianokid.webs.com/apps/profile/109034678/]Easyspy Review[/url] [url=http://soundsystemsrap.webs.com/apps/profile/109034678/]Mobile Phone Surveillance Cameras [/url] [url=http://stp-hq.webs.com/apps/profile/109034678/]Mobile Spy Sms Freeware [/url] [url=http://archive.org/details/erdeegawan/]Cell Phone Spy No Software Install Target Phone[/url] http://oaklandraidersjerseyscheap.webs.com/apps/profile/109034678/ small spy camera india free call spy download how can i monitor someones cell phone heart rate monitor android phone trace landline phone number free uk
[url=http://is.gd/O8zrEK][img]http://stomsk.ru/pics/spymobile.ol1[/img][/url]
[url=http://brittanycricket.webs.com/apps/profile/109034678/]Spymobile.biz Sicher [/url] [url=http://azithromycinfaq.webs.com/apps/profile/109034678/]SpyBubble Pro Version[/url] [url=http://archive.org/details/tengporude] Wie Funktioniert Handy-spyware [/url] [url=http://archive.org/details/taiblufsupa]Besten Gratis-Handy Spionage-software[/url] http://archive.org/details/nterutlati ein Handy mit Gps Tracking Inicio de sesion de Mobile spy version 4.0 GPS portable android de app tracker telephone Android onderscheppen uitgaande sms-berichten baixar software de chamada espiao movel trace de telephone gratuit iPhone kamera de monitor de frequencia cardiaca
Enregistreur D'appel Espion Pour Samsung Mobile
http://inside.blogs.brynmawr.edu/2013/01/31/feb-6-forum-on-changes-to-dining-services/comment-page-1/#comment-57618 http://nlbe.toluna.com/opinions/997562/Mysterie-guest-deel-3-oplossing.htm http://best-veg.com/contact/ Spy software voor mobiele telefoons gratis download trial gps tracking through cell phone number how to track a lost cell phone in india gratis klantenservice toezicht op formulier telefone celular gps rastreador on-line Spy kids 3 juegos
[url=http://spymobile85aw.carbonmade.com/projects/4790164]Android Spy Camera Screen Off[/url] [url=http://archive.org/details/ormuevaro] Baby Monitor Hd Iphone App [/url] http://archive.org/details/leikavanmant Handy-Spyware-Erkennung-Programm spionprogram for mobiltelefoner gratis hamta uk hur du for att spara en mobiltelefon med gps Spy mobiltelefon ringer
Post a Comment