Do you need to check list of programs installed on remote computers?
PowerShell will come in handy to check list of installed software on remote computers.
Open PowerShell ISE or the PowerShell command line.
Make sure the PowerShell settings is configured to run PowerShell scripts.
Here's the PowerShell code snippet.
#for 64 bit
#Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
#for 32 bit
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | where {$_.publisher -notmatch "^Microsoft"} | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
To get the list of non-Microsoft software installed on the computer:
Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | where {$_.publisher -notmatch "^Microsoft"} | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate | Format-Table –AutoSize
To save the output just add out-file or add some redirection operators at the end of the command.
To use it on a remote computer use the invoke-command method with the script block parameter.
Cheers...till next time..
================================
Free Android Apps:
Click on links below to find out more:
Multiplication Table for early learners
https://play.google.com/store/apps/details?id=com.TableMultiplication
Catholic Rosary Guide for Android:
Pray the Rosary every day, countless blessings will be showered upon your life if you recite the Rosary faithfully.
https://play.google.com/store/apps/details?id=com.myrosaryapp
https://play.google.com/store/apps/details?id=com.myrosaryapp
http://quickbytesstuff.blogspot.sg/2014/09/how-to-recite-rosary.html
Comments
Post a Comment