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

Automating the process to join a server to a domai... In this Tutorial we are going to optimize a simple task that in larger environments may take some time from the service desk/operations team which is ...
Article: Step-by-step Guide – Exploring thre... Hello folks, In this article, we will explore several methods to deploy our well-known friend JSON files to deploy ARM Templates into Microsoft Azu...
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...
Script to create a VPN Site-to-Site using Azure Re... The process to create a VPN Site-to-Site in Microsoft Azure requires a series of cmdlets, and at this time the administrator cannot use Azure Preview ...