Prajwal Desai

SCCM | ConfigMgr | Intune | Windows 11 | Azure

  • Home
  • Cloud
    • Autopilot
    • Azure
    • Endpoint Analytics
    • Intune
    • PowerShell
    • Teams
    • Windows 365
  • Microsoft
    • Active Directory
    • Group Policy
    • SCCM
    • SCOM
    • Windows 10
    • Windows 11
    • Windows Server
    • WSUS
  • Software
  • Forums
  • Newsletter
  • Contact
Notification Show More
Latest News
Fix Windows Autopilot Reset Error 0x80070032
Fix Windows Autopilot Reset Error 0x80070032
Autopilot Intune
Windows activation error 0xc004c020
Fix: Windows Activation Error 0xC004C020 with 2 Easy Methods
Windows 11 Windows 10
Find the Package ID of SCCM Application
3 Best Ways to Find the Package ID of SCCM Application
SCCM
SCCM Updates Install Error 0x800b0109 0x8024b303
Fix: SCCM Updates Install Error 0x800b0109 | 0x8024b303
SCCM
Disable Windows Hello for Business using Intune ftimg
Disable Windows Hello for Business using Intune – Comprehensive Guide
Intune Autopilot
Aa

Prajwal Desai

SCCM | ConfigMgr | Intune | Windows 11 | Azure

Aa
Search
  • Home
  • Cloud
    • Autopilot
    • Azure
    • Endpoint Analytics
    • Intune
    • PowerShell
    • Teams
    • Windows 365
  • Microsoft
    • Active Directory
    • Group Policy
    • SCCM
    • SCOM
    • Windows 10
    • Windows 11
    • Windows Server
    • WSUS
  • Software
  • Forums
  • Newsletter
  • Contact
Follow US

Home » SCCM » List SCCM Application Deployments Using PowerShell Script

SCCMPowerShell

List SCCM Application Deployments Using PowerShell Script

By Prajwal Desai 1 View 4 comments October 20, 2019 3 Min Read

List SCCM Application Deployments Using PowerShell Script – This post is about getting the list of SCCM application deployments using PowerShell script. The script lists the names of applications, software version and number of deployments as output.

There might a huge list of applications that are deployed using SCCM. However if you want to get the list of apps and track the deployments, this script will help you. You have to import the Configuration Manager PowerShell module.

The easiest way to get the list of SCCM applications is using PowerShell. The script also exports the output to a .csv file. You can open this output file using Microsoft Excel.

List SCCM Application Deployments Using PowerShell Script

So let’s see what the script does. The below script uses Get-CMApplication command to fetch the list of applications and it’s properties. However If you just type Get-CMApplication in the PowerShell, you will get a list of applications and it’s properties as output.

- Advertisement -
Ad image

However you will find it difficult to understand the output because it lists many properties. The import-module imports Configuration Manager module into PowerShell. In addition to import the module you will have to specify the path to the Configuration Manager Module. The path is usually “C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1“.

The next command is Set-Location where you specify your site code. The next command is $FilePath where you define the file name and it’s path. This is the file that contains the output. So specify the file with .csv extension. The last command is Get-CMApplication command. Here we filter the output with selected objects and export the output to the specified file path.

List SCCM Application Deployments Using PowerShell ScriptCopy the below code and create a new text document. Paste the code in the text document and rename it with filename.ps1 extension. Launch the PowerShell and run the script.

PowerShell script to list all the application deployments
Import-Module 'C:\Program Files (x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1' 
Set-Location P01: 
$FilePath = "C:\powershellscripts\test.csv" Get-CMApplication | Select-Object LocalizedDisplayName,SoftwareVersion,NumberOfDeployments | Export-CSV $FilePath

In conclusion here is how the output looks.
List SCCM Application Deployments Using PowerShell Script

Sign Up For Weekly Newsletter

Get the most recent information on Configuration Manager, Intune, Windows 11, Windows 365, Autopilot, Azure, Software Reviews, and much more by subscribing to the newsletter.
By signing up, you agree and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share this Article
Facebook Twitter Copy Link Print
Avatar photo
By Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Configuration Manager, Microsoft Intune, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
Previous Article Mac drk SCCM Task Sequence Failed with Error Code 0x800702C2
Next Article laptop hardware CU4 for SCCM 2012 SP2 and SCCM 2012 R2 SP1
4 Comments 4 Comments
  • Avatar photo Karin Zander says:
    July 27, 2022 at 4:28 pm

    Hi, thanks for this post, this helped me a lot of

    Reply
    • Avatar photo Prajwal Desai says:
      July 27, 2022 at 9:02 pm

      Glad to hear that.

      Reply
  • Avatar photo Claudio Gonçalves says:
    November 5, 2019 at 4:07 pm

    Another way:
    Install the System Center Configuration Manager Console (Desktop or Thecnician PC).
    File – Connect via Windows PowerShell/Windows PowerShell ISE
    Run the Script ISEConnect
    Run From there

    Reply
  • Avatar photo Praveen Pareen says:
    August 19, 2017 at 12:58 am

    Hi

    Can you create a script to get all active deployment in sccm 2012 CB

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recast Sponsored AD
Ad image
Patch My PC Sponsored AD
Ad image

Latest Articles

Fix Windows Autopilot Reset Error 0x80070032
Fix Windows Autopilot Reset Error 0x80070032
Autopilot Intune
Windows activation error 0xc004c020
Fix: Windows Activation Error 0xC004C020 with 2 Easy Methods
Windows 11 Windows 10
Find the Package ID of SCCM Application
3 Best Ways to Find the Package ID of SCCM Application
SCCM
SCCM Updates Install Error 0x800b0109 0x8024b303
Fix: SCCM Updates Install Error 0x800b0109 | 0x8024b303
SCCM
Subscribe to Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

You Might Also Like

Find the Package ID of SCCM Application
SCCM

3 Best Ways to Find the Package ID of SCCM Application

By Prajwal Desai
SCCM Updates Install Error 0x800b0109 0x8024b303
SCCM

Fix: SCCM Updates Install Error 0x800b0109 | 0x8024b303

By Prajwal Desai
Deploy WinSCP using Intune
Intune

Step-by-Step Guide to Deploy WinSCP using Intune (Win32 App)

By Prajwal Desai

Removed from reading list

Undo
Welcome Back!

Sign in to your account

Lost your password?