Archive | PowerShell

Find the Application Name from a Configuratin Item ID (CI_UniqueID) in Configuration Manager 2012

This will describe how to search for an application when all you know is the CI_UniqueID of the application. One example, when you might have use for this, is when you read the SCCM logs and only find the CI_UniqueID of the application.

I will describe how to search for the application name and more information in the console and by PowerShell with only the CI_UniqueID as input.

Search with PowerShell

Import-Module ‘C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1’
Set-Location <site code>: (example: cd P01:)
$ApplicationID = “<Configuration Item Unique ID>”
Get-CMApplication | where {$_.CI_UniqueID -match $ApplicationID}

Search in the Console

Add the “CI Unique ID” at the top bar in the main window (see picture below). Pased the CI_UniqueID in the “Search Field” under Applications in Software Library and hit Search.

Find the Application Name from a Configuratin Item ID (CI_UniqueID) in Configuration Manager 2012_1

Another way is to pass the CI_UniqueID to the “Search all objects Files” under Administration -> All Objects and hit Search.

Find the Application Name from a Configuratin Item ID (CI_UniqueID) in Configuration Manager 2012_2

1