Skip to content
Export SCCM Package Using Package Wizard | PowerShell

Export SCCM Package Using Package Wizard | PowerShell

Written By Jitesh Kumar
Last Updated June 3, 2022
Posted In SCCM
SHARE

In this post, you will learn how to export SCCM Package. After preparing or deploying packages, you can export the ConfigMgr package that helps you to get a list of all associated commands and content based on your selection.

The exported packages can be imported to another environment instead of creating them from scratch. That will be a time-saver for SCCM Admin and reduce the manual efforts and errors in the production environment if you want to shift from the test environment to production.

You can export packages either from the Configuration Manager console or use the PowerShell cmdlet. The Export-CMPackage cmdlet exports a package to a file. Specify a file path to the location where you want to export the package.

You can use PowerShell cmdlets to automate the package creation and deployment process with Configuration Manager (aka MEMCM), similar to using SCCM Console. This post helps the PowerShell enthusiast to start working on the PowerShell scripting solution for SCCM Package creation process.

Patch My PC

Export SCCM Package from Configuration Manager Package Wizard

You can follow the steps below to export the package using the SCCM console.

In the Configuration Manager console, go to the Software Library workspace, expand Operating Systems, and select the Packages node.

Select the existing package that you want to export in the Packages list. Right-Click on the package, you want to export, and click on ExportThis action starts the Export Package Wizard.

Click Export - Export SCCM Package from Configuration Manager Package Wizard
Click Export – Export SCCM Package from Configuration Manager Package Wizard

You will see two options by default selected while exporting the packages

  • Export all package dependencies.
  • Export all content for selected packages and dependencies.

If you don’t want to export package dependencies, Uncheck the option to Export all package dependencies. By default, the wizard scans for all the related objects and exports them to the packages.

If you don’t want to copy the content from the package source to the export location, Uncheck the option to Export all content for the selected packages and dependencies. The Import Package Wizard uses the import path as the new package source location if you choose this option.

Administrator comments: Add a description for the packages to export.

Select Export Options - Export SCCM Package from Configuration Manager Package Wizard
Select Export Options – Export SCCM Package from Configuration Manager Package Wizard

On the Summary page, review the settings. Click Next.

Review Summary - Exported Package
Review Summary – Exported Package

Wait for a moment, while exporting is in progress. After completing, You will see the prompt The task “Export Package Wizard” completed successfully. Click Close to exit the wizard.

Export Package Wizard - Export SCCM Package from Configuration Manager Package Wizard
Export Package Wizard – Export SCCM Package from Configuration Manager Package Wizard

If you go to exported folder path, you will see a files folder and a zip file. This file contains package dependencies Content, Description, FullPath, Package OriginalPath, etc.

Destination Folder - Exported SCCM Package
Destination Folder – Exported SCCM Package

Export SCCM Package Using PowerShell Command

Now, let’s quickly look at options to automate the export of packages with the PowerShell Commands or SCCM PowerShell cmdlets. You can Launch the SCCM PowerShell Commandlets from the console.

In the SCCM Console, Click on the Drop-Down option on the top left side corner of the console and click on Connect via Windows PowerShell option. 

Export SCCM Package Using PowerShell Command 1
Export SCCM Package Using PowerShell Command 1

If you get the following warning about the untrusted publisher, Type A, and press Enter.

Do you want to run software from this untrusted publisher?
File \Program Files\Microsoft Configuration
Manager\AdminConsole\bin\Microsoft.ConfigurationManagement.PowerShell.Types.ps1xml is published by CN=Microsoft
Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US and is not trusted on your system. Only run scripts
 from trusted publishers.
[V] Never run  [D] Do not run  [R] Run once  [A] Always run  [?] Help (default is "D"): A

This command Export-CMPackage gets package info and its properties details.

Export SCCM Package Using PowerShell Command 2
Export SCCM Package Using PowerShell Command 2

Export-CMPackage exports the package to path C:\Users\Jitesh\Documents\CopyAutomatedScript – Package.zip. This command exports a package with the ID MEM0004E to a network or local path.

Export-CMPackage -Id "MEM0004E" -FileName "C:\Users\Jitesh\Documents\CopyAutomationScript.zip"
Export SCCM Package Using PowerShell Command 3
Export SCCM Package Using PowerShell Command 3

Author

Written by

Jitesh has over 5 years of working experience in the IT Industry. He writes and shares his experiences related to Microsoft device management technologies and IT Infrastructure management. His primary focus area is Windows 10 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Discussion · 1 comment

Join the discussion

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

Related guides

Intune

Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws

Key Takeaways Windows 11 KB5101650 KB5099414 July 2026 Patch and 3 Zero Day Vulnerabilities and 570 Flaws! In the July 2026 Patch, Microsoft introduced new features designed to improve the overall Windows experience. The update adds enhancements to Windows Update for more flexible update management and introduces Point-in-Time Restore, providing an additional recovery option for […]

AC Anoop C Nair 9 min read
Intune

2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws

Key Takeaways 2026 June KB5094126 KB5093998 Windows 11 Patch | 3 Zero Day Vulnerabilities and 200 Flaws! The June 2026 Windows 11 Patch Tuesday update brings several improvements to File Explorer. It adds support for additional archive formats, including UU, CPIO, XAR, and NuGet Packages (NUPKG). The update also preserves View and Sort preferences in […]

AC Anoop C Nair 10 min read
Intune

2026 May KB5089549 KB5087420 Windows 11 Patch | 0 Zero Day Vulnerabilities and 120 Flaws

Key Takeaways The Windows 11 May 2026 Patch KB5089549 KB5087420 Update brings important security fixes, performance improvements, and reliability enhancements across the operating system. The update introduces new features such as Xbox Mode for gaming, File Explorer improvements, enhanced input and sharing experiences, better taskbar and Windows Hello reliability, and additional enterprise management capabilities for […]

AC Anoop C Nair 8 min read
SCCM

ConfigMgr 2603 Introduces New Early Update Enrollment Process

Key Takeaways In this post we are discussing the ConfigMgr 2603 Introduces New Early Update Enrollment Process. Microsoft has officially released Configuration Manager version 2603 to the Early Update Ring, giving organizations an opportunity to test upcoming improvements before the global production rollout. The release is targeted at enterprises running ConfigMgr version 2409 or later […]

AC Anoop C Nair 3 min read