Export SCCM Application – Export Application Wizard + PowerShell

In this post I will cover the steps to export SCCM application. Exporting an application in SCCM is very easy. You can export an application either using export option or PowerShell commands. I will cover both methods in this post.

Using Export Application Wizard – The export option requires you go through the wizard and export the application. The export option is available when you right click an SCCM application in the console.

Using PowerShell Commands – This is probably the most easiest and quickest one out of the two. The PowerShell command straight away exports an application without any user inputs.

Export SCCM Application Using Export Application Wizard

As mentioned earlier you can easily export SCCM application using Export option. Launch configuration manager console and navigate to Application Management. As an example, we will export 7-zip application. Right click the application and click Export.

Export SCCM Application Using Export Application Wizard

Specify the path to export the application. Ensure the file ends with .zip extension.

There are two options you see while exporting the applications and they are checked by default.

  • Export all application dependencies, supersedence relationships, and conditions and virtual environments.
  • Export all content for selected applications and dependencies.

We will not change anything here, click Next.

Export SCCM Application Using Export Application Wizard

Click Next.

Export SCCM Application Using Export Application Wizard

On the Summary page, click Next.

Export SCCM Application Using Export Application Wizard

On Completion page, click Close.

Export SCCM Application Using Export Application Wizard

If you go to exported folder path, you will see a folder and a zip file. The folder contains the actual content, the 7-zip msi installer file. The zip file contains document.xml. This file contains information such as Content UniqueId, Hash, Description, FullPath, Application OriginalPath etc. The other files include information about application dependencies, supersedence relationships, and conditions and virtual environments.

Export SCCM Application Using Export Application Wizard

Export SCCM Application Using PowerShell

The second way to export SCCM application is using PowerShell. In the Configuration Manager console, click on drop down arrow on extreme top left. From the options displayed, click connect via Windows PowerShell.

This will bring up Windows PowerShell. Here is where you execute the below commands.

Get-CMApplication – First of all we will use the Get-CMApplication command to get application info and it’s properties. In one of my post, we have used this command to list all SCCM application deployments.

Export SCCM Application Using PowerShell

The below command gets the application object named 7-zip and uses the pipeline operator to pass the object to Export-CMApplication. Specify the path to export the application as .zip file. The Force parameter indicates that the application is exported without prompting the user.

Export SCCM Application Using PowerShell

If you want to directly export an application, you can use Export-CMApplication command.

Export SCCM Application Using PowerShell

You might also like

2
Leave a Reply

1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
newest oldest most voted
bharath

How to export all the mobile applications (ios, android, weblink, LOB) ? is there a query that you have handy Prajwal ?

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More