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:  List  Web  Service  Configuration  Information  

 Content of List Web Service Configuration Information.vbs
MD5 Hash: 416115BB641712430F1CBC35C1F4EB99
' Description: Displays information about the IIS Web service service on a computer.


strComputer = "."
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")

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

For Each objItem in colItems
Wscript.Echo "Accept Pause: " & objItem.AcceptPause
Wscript.Echo "Accept Stop: " & objItem.AcceptStop
Wscript.Echo "Application Isolated: " & objItem.AppIsolated
Wscript.Echo "Application Package ID: " & objItem.AppPackageID
Wscript.Echo "Application Package Name: " & _
objItem.AppPackageName
Wscript.Echo "Application Root: " & objItem.AppRoot
Wscript.Echo "Caption: " & objItem.Caption
Wscript.Echo "Check Point: " & objItem.CheckPoint
Wscript.Echo "Description: " & objItem.Description
Wscript.Echo "Desktop Interact: " & objItem.DesktopInteract
Wscript.Echo "Display Name: " & objItem.DisplayName
Wscript.Echo "Error Control: " & objItem.ErrorControl
Wscript.Echo "Exit Code: " & objItem.ExitCode
Wscript.Echo "Installation Date: " & objItem.InstallDate
Wscript.Echo "Name: " & objItem.Name
Wscript.Echo "Path Name: " & objItem.PathName
Wscript.Echo "Process ID: " & objItem.ProcessId
Wscript.Echo "Service Specific Exit Code: " & _
objItem.ServiceSpecificExitCode
Wscript.Echo "Service Type: " & objItem.ServiceType
Wscript.Echo "SSL Certificate Hash: " & objItem.SSLCertHash
Wscript.Echo "Started: " & objItem.Started
Wscript.Echo "Start Mode: " & objItem.StartMode
Wscript.Echo "Start Name: " & objItem.StartName
Wscript.Echo "State: " & objItem.State
Wscript.Echo "Status: " & objItem.Status
Wscript.Echo "Tag Id: " & objItem.TagId
Wscript.Echo "Wait Hint: " & objItem.WaitHint
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