Get A List Of Software Installed On Your PC With A Single Line Of PowerShell
Saw this on http://www.howtogeek.com:
To output the results to a file:
Get-WmiObject -Class Win32_Product | Select-Object -Property Name
To compare the software installed on one computer with another:
Get-WmiObject -Class Win32_Product | Select-Object -Property Name > C:\Software\PCapps.txt
I am a complete novice when it comes to Powershell but this looks like it might be useful occasionally.
Compare-Object -ReferenceObject (Get-Content C:\Software\PCapps.txt) -DifferenceObject (Get-Content C:\Software\LAPTOPapps.txt)
I will be on the lookout for other similar Powershell statements.