Retrieving the GUID of installed applications on you Windows Server/Workstation

Share this:

If you are managing desktop applications or working on DSC packages, the GUID of installed application will be required at some point of your journey.

Solution


There are several ways to find out the information about the GUID of any given application. A simple way to achieve this goal is to check the Registry and find the software there and copy the GUID. The tricky part is that the software name is part of the “folder”/Key with the GUID value, so you are better off by searching the name of the software from the Uninstall key.

image

We can use PowerShell to retrieve all installed software using this following cmdlet.

Get-WmiObject Win32_Product  | select IdentifyingNumber,Name,Version

The output will have a list of three (3) columns: GUID, Name and version.

image

If you are looking for a specific entry, you can use the following cmdlet to retrieve the information.

Get-WmiObject Win32_product | where-object { $_.Name -contains ‘iTunes’ }

image

If you are not sure about the name of the software, we can always use –like and provide just a portion of the string that we are looking for.

Get-WmiObject Win32_product | where-object { $_.Name -like ‘iT*’ }

image

Written by Anderson Patricio

Anderson Patricio

Anderson Patricio is a Canadian MVP in Cloud and Datacenter Management, and Office Server and Services, besides the Microsoft Award he also holds a Solutions Master (MCSM) in Exchange and several other certifications. Anderson has been contributing to the Microsoft Community with articles, tutorials, blog posts, twitter, forums and book reviews. He is a regular contributor here at ITPROCentral.com, MSExchange.org, Techgenix.com and Anderson Patricio.org (Portuguese).

Related Post

Statistics of a NIC Teaming If the UI window is sufficiently tall a statistics tile appears at the bottom of the Team tile and the Adapters and Interfaces tile. These statistics ...
How to rename an AWS EC2 instance during provision... In the Cloud era the VM/instance name is not that important, especially when we have a fleet of servers doing the same work, and that is key for scena...
Getting the number of mailboxes per database in yo... How to create a single line PowerShell to retrieve the number of mailboxes per mailbox database in your organization. I was asked about that number in...
Updates on Hyper-V Server? How to see what had bee... When do you need to see what updates had been installed on your Hyper-V server, you can use this PowerShell cmdlet to list all the updates. Get-WmiOb...