troubleshooting Question

Powershelll command to get program install versions by computer

Avatar of hypercube
hypercubeFlag for United States of America asked on
PowershellInstallation* program
5 Comments1 Solution28 ViewsLast Modified:
PowerShell command that works and is similar to what I need:
Invoke-Command -cn fredray2  -ScriptBlock {Get-ItemProperty HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | select DisplayName, DisplayVersion } 

Open in new window


So, what I'd like to do is to shorten the list that's generated by pulling out only certain DisplayNames.  There are only two or three so I could list them in the command.  OR, they all include GOLD in them and perhaps a filter on that content?  Then, I'd like to expand it:
from:
" -cn fredray2"
to:
all computers in the domain.
A formatted table output would be nice but perhaps I can do that much if these two things can be dealt with.

I've tried but no solution yet.
ASKER CERTIFIED SOLUTION
David Johnson, CD
The More I know, the more I don't know
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros