Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

List Remote Software

$
0
0

Guys.

If I run code #Code 1 on my local machine then it gives me really nice information about the installed software. From what i can see you cant use Get-ItemProperty to connect to a remote machine and run the same command. I was looking for a -computer but it seem to not support it. However #Code 2 does work but the information is some what limited. Does anyone know of a yway of getting #Code 1 to work with a remote registry via some other method. Its the information it returns is key

#Code 1

Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* |Select DisplayName, DisplayVersion, Publisher, InstallDate, HelpLink, UninstallString |Out-GridView

#Code2

$MachineName = "WORKSTATION-NAME-HERE"

Get-WmiObject -Class win32_product -Impersonation 3 -computername $MachineName |Select Name, Vendor, Version, Caption | Out-GridView

Thanks in advnace


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>