added scripts and SUPERMICRO

This commit is contained in:
2012-02-29 15:47:11 -05:00
parent 939e57d438
commit b9cd8bbfd2
818 changed files with 35440 additions and 0 deletions

14
getiissettings.vbs Normal file
View File

@@ -0,0 +1,14 @@
strComputer = "pnyweb02"
Set objWMIService = GetObject _
("winmgmts:{authenticationLevel=pktPrivacy}\\" _
& strComputer & "\root\microsoftiisv2")
Set colItems = objWMIService.ExecQuery _
("Select * from IIsWebServerSetting")
For Each objItem in colItems
For i = 0 to Ubound(objItem.ServerBindings)
Wscript.Echo "" & objItem.ServerBindings(i).IP & " " & objItem.ServerBindings(i).Port & " " & objItem.ServerBindings(i).Hostname
Next
Next