Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Get-ItemProperty beginner question

$
0
0

Hello,
I got a newbie question over here that I hope some experts can answer.
I’m trying to search in my servers for foxit reader and the current version. The command I got this working with is:

cls
Get-ItemProperty HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstall* | Select-Object DisplayName, DisplayVersion| Sort-Object DisplayName

The problem is, that I’m unable to filter JUST for Foxit reader. As soon as I try to filter, powershell tells me that the filter cant be used with this cmdlet. As far as I know, I can only filter the name as I dont know where in my servers it is installed, so a fixed path woudnt work.

If it helps, this is the piece of foxit reader that powershell gives me -> Picture

I hope you guys can help me filter it out 🙂

submitted by /u/Senorragequit
[link] [comments]

The post Get-ItemProperty beginner question appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles