Jump to content

Recommended Posts

Posted

Saw this on http://www.howtogeek.com:

 

In Powershell:

 

Get-WmiObject -Class Win32_Product | Select-Object -Property Name

 

To output the results to a file:

 

Get-WmiObject -Class Win32_Product | Select-Object -Property Name > C:\Software\PCapps.txt

 

To compare the software installed on one computer with another:

 

Compare-Object -ReferenceObject (Get-Content C:\Software\PCapps.txt) -DifferenceObject (Get-Content C:\Software\LAPTOPapps.txt)

 

I am a complete novice when it comes to Powershell but this looks like it might be useful occasionally.

 

I will be on the lookout for other similar Powershell statements.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...