Link to home
Start Free TrialLog in
Avatar of Tom
Tom

asked on

Check software installed on servers

Hi,
We have a about a hundred - two hundred servers in our infrastructure and I have been assigned the glorious task from "the powers that be.." to see if we have a particular software installed on these servers and which servers it's installed on.

Is there a powershell command or a wmi query which could facilitate this without spending hundreds or thousands on auditing software or so I don't have to actually go through this manually?

Please?
SOLUTION
Avatar of Mohammed Khawaja
Mohammed Khawaja
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hey there,

I run something like the following...

$getProducts = Get-WmiObject Win32_Product -ComputerName $computerName | Select-Object -Property *

You can replace the -Property * with column names once you know what details you want to gather. What I do is run this script from each computer and have it phone home to store the information elsewhere. Or you can run the script centrally from a server that reaches out to each computer on the network. But it's a lot of overhead to keep doing it over and over with most of the information not changing.

I made this thing that installs the script on the individual computers, lets them run it on a schedule and store the output locally to XML. Then it compares the output to the same output from last time. If and only if there was a change found, will it bother to phone home and send the info back.

But that's the starting point, that WMI object.
And again, that references the Win32_Product class.  That really should not be used on production systems.
Avatar of Tom
Tom

ASKER

We already use Spiceworks, so i'll use that tool and check out the TechNet Script gallery too

Thanks for all your help!