Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List IMAP Server StateContent of List IMAP Server State.vbsMD5 Hash: 1706E149D9CB62E96BF03B6432EE229F |
||
' Description: Returns the state of the IMAP server service on a computer running IIS 6.0.
strComputer = "." Set objWMIService = GetObject _ ("winmgmts:{authenticationLevel=pktPrivacy}\\" _ & strComputer & "\root\microsoftiisv2") Set colItems = objWMIService.ExecQuery("Select * from IIsImapServer") For Each objItem in colItems Wscript.Echo "IMAP Service Version: " & objItem.ImapServiceVersion Wscript.Echo "Name: " & objItem.Name Wscript.Echo "Server State: " & objItem.ServerState Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |