Get a List of Software Installed on Your PC with a Single Line of PowerShell

Suppose someone asks you for a list of applications you have installed on your computer. To get this information, what’s the first thing you would think to use? Third-party program? Not us, we have PowerShell.

 How to Get a List of Installed Software on Your PC 

 Getting a list of installed software is as simple as using this straightforward WMI query.

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


You will probably want to export that to a file though, which is also easy enough — we’ll send the output using the > symbol and adding the path to a new text file that we want to create.

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

What makes using PowerShell really neat is that if you do this on two different machines, you can easily compare the software installed on them.

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

Any entries with a side indicator pointing to the right (=>) mean that the software is installed on my laptop but  not on my PC, and any entries with a side indicator pointing to the left (<=) mean that the software is installed on my PC but not on my laptop.
Advertisements

About ishubhamsingh

Hello TechGeeks!! I am Shubham Singh -a student,a mistakemaker,a learner,a TechGeek like you,who wants to share all that i know about softwares,cracks,keygens and general computer tweaks & tricks with you through this blog.

Posted on June 19, 2013, in 8, applist, command-line, microsoft, powershell, software list, System, tools, windows 8.1, windows8. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: