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

Creating a PowerShell Function to display error me... When writing your code using PowerShell, and based on the complexity of the script we need to create output to troubleshoot/debug the code.We can alwa...
Removing Azure Active Directory users using Azure ... Cloud Shell is one of the new features in Azure Portal, and it is accessible from virtually any browser and even from Azure App. In this Tutorial, we ...
How to activate synchronization in Office365 We are going over the process to enable synchronization in the new Office 365 Administration Center and also using PowerShell.  Solution In s...
Script: Exchange Server 2016 Deployment (EXDeploy.... Hello folks, We created an automation script to deploy Exchange Server 2016 in a consistent way, and the script was published on our ITPROCentral a...