PDA

View Full Version : Script to retrieve IE version for all pc's im a domain (W2K)



jessdogg95
12-12-2005, 09:17 AM
Hello I have this working vbscript that allows me to retrieve the Internet Explorer version number from an individual pc. I need to be able to apply this script to a particular CONTAINER in Active Directory. Can anyone help?? Thank you very much for any feedback.

Current Script:

strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & _
"\root\cimv2\Applications\MicrosoftIE")

Set colIESettings = objWMIService.ExecQuery _
("Select * from MicrosoftIE_Summary")

For Each strIESetting in colIESettings
Wscript.Echo "Active printer: " & strIESetting.ActivePrinter
Wscript.Echo "Build: " & strIESetting.Build
Wscript.Echo "Cipher strength: " & strIESetting.CipherStrength
Wscript.Echo "Content advisor: " & strIESetting.ContentAdvisor
Wscript.Echo "IE Administration Kit installed: " & _
strIESetting.IEAKInstall
Wscript.Echo "Language: " & strIESetting.Language
Wscript.Echo "Name: " & strIESetting.Name
Wscript.Echo "Path: " & strIESetting.Path
Wscript.Echo "Product ID: " & strIESetting.ProductID
Wscript.Echo "Version: " & strIESetting.Version
Next