List applications in Configuration Manager 2012 with PowerShell

This is a short post on how to list the applications with PowerShell in SCCM 2012.
Run the following in a PowerShell window.

Import-Module ‘C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1′

Set-Location <site code>: (example: Set-Location P01:)

Get-CMApplication | Select-Object LocalizedDisplayName,SoftwareVersion,NumberOfDeployments

Screenshot of results.
List applications in Configuration Manager 2012

5 Responses to List applications in Configuration Manager 2012 with PowerShell

  1. John March 19, 2015 at 20:03 #

    Set-Location P01:\ (trailing backslash) seems to work better…

  2. Ryan October 23, 2015 at 16:40 #

    What if you want to kick this out to a text file?

    • Erik November 10, 2016 at 09:50 #

      You can Pipe it to a Csv

      • Erik November 10, 2016 at 09:51 #

        | export-csv -file c:\csv.csv

    • Christian Nyhuus January 12, 2017 at 11:24 #

      @Ryan

      You can do so by pipe it out to Export-Csv -Path ‘C:\temp\applications.csv’

      it would look like this:
      Get-CMApplication | Select-Object LocalizedDisplayName,SoftwareVersion,NumberOfDeployments | Export-Csv -Path ‘C:\temp\applications.csv’

      Then you will get a .csv file in your C:\temp folder

Leave a Reply