Loading
Scriptbox
 VBScript Links 
 About VBscript 
 JavaScript Links 
 About JavaScript 
 Powershell Links 
 PSCRIPT the Script Launcher 
 PowerShell Shortcut Keys 
 About Powershell 
     VBScript
    JavaScript
    Powershell
Disclaimer
Contact
Latest 10 Scripts
Script search
  :: { Category } :: 0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ
         

Search Options:  Enumerating  Resultant  Set  of  Policy  System  Services  

 Content of Enumerating Resultant Set of Policy System Services.vbs
MD5 Hash: 5388F9E5CDED34C79EF06701DC66FE24
' Description: Returns information about the service settings (including startup mode and access permissions) assigned to a computer by using Group Policy.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:\\" & strComputer & "\root\rsop\computer")

Set colItems = objWMIService.ExecQuery("Select * from RSOP_SystemService")

For Each objItem in colItems
Wscript.Echo "Service: " & objItem.Service
Wscript.Echo "Precedence: " & objItem.Precedence
Wscript.Echo "SDDL String: " & objItem.SDDLString
Wscript.Echo "Startup Mode: " & objItem.StartupMode
Wscript.Echo
Next

   © 2008 - 2013 Boris Toll      :: Scripts available: 6.481 ::      :: scriptbox.toll.at ::      :: powered by www.toll.at ::
  Google Entries:n/a
  Yahoo Backlinks:n/a
  Live Backlinks:n/a
  del.icio.us Bookmarks:n/a
  Technorati Links:n/a