Install count
Hey everyone -
I am trying to find a way (or a good way) to count MS office installs within my domain.
Any one have a good tool or tool and a method other than the fabled SneakerNet?
thanks
Derek
Software
Hey everyone -
I am trying to find a way (or a good way) to count MS office installs within my domain.
Any one have a good tool or tool and a method other than the fabled SneakerNet?
thanks
Derek
by derek schauland Accepted solution
by shasca Accepted solution
by derek schauland Accepted solution
Seems this might just do the trick
thanks
derek
by brenton keegan Accepted solution
I assume you want a count of the installations to verity license compliance.
We use this application:
http://www.misutilities.com/
We use the non-pro version, it's agentless so you don't need to install extra software to get it to work.
It gathers the info by WMI queries. If you don't want to spend the cash you could write a script/application that gathers the information by WMI queries.
It's actually pretty easy.
-create a variable to store an object for the WMI service on the computer.
Call the ExecQuery method of that object and perform a query to select everything from the Win32_product table.
Output it to anything you want. The code will look something like this:
=====BEGIN CODE=====
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSoftware = objWMIService.ExecQuery("Select * from Win32_Product")
For Each objSoftware in colSoftware
Wscript.Echo "Name: " & objSoftware.Name
Wscript.Echo "Version: " & objSoftware.Version
Next
=======END CODE=======
The code right now sets the strComputer value to "."... so it will perform the code on the computers which it runs.
If you're using a windows domain structure, I'd use an LDAP query to gather computer names and drop them in a recordset. Loop thru the recordset and perform this code on each computer then drop the results somewhere (CSV file, SQL database, whatever you want)
by derek schauland Accepted solution
The msiutilities.com link listed above goes to an energy website...
What is the name of the App you were referring to?
thanks
Derek
This discussion is closed to new replies.
Sort by Trending