Easy Steps to Export SCCM Task Sequence

In this post, you will learn how to export SCCM task sequence. After preparing or deploying a task sequence, you can export ConfigMgr task sequence that helps you to get a list of all associated steps and content based on your selection of all task sequences.

The exported task sequences 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, error in the production environment in case you wanted to shift from the test environment to production. You can export and import task sequences with or without their related objects. This referenced content includes the following objects –

  • OS images
  • Boot images
  • Packages like the client install package
  • Driver packages
  • Applications with dependencies
  • Other task sequences referenced with the Run task sequence step

You can export a task sequence either from the Configuration Manager console or use PowerShell cmdlet Export-CMTaskSequence to export a task sequence from Configuration Manager. If you want to export the task sequence with content, change -WithContent set this parameter to $true to export all content for the task sequence and dependencies and -WithDependence set this parameter to $true to export all task sequence dependencies.

Patch My PC

How to Check Task Sequence Dependencies in SCCM

Let’s follow the steps below to check the referenced content added to the task sequence –

  • Launch SCCM console. Navigate to Software Library > Operating Systems > Task Sequences.
  • Select the Task Sequence from the list and select References tab at bottom.

Here you see the list of referenced content type packages, applications, boot images or OS images details added in task sequence for operating system deployment.

Easy Steps to Export SCCM Task Sequence 1
SCCM Task Sequence References – Export SCCM Task Sequence

Document Task Sequences📝- Often times, after creating an MDT or SCCM task sequence, you need to document it for yourself or your customers. You can follow the post to create Task Sequence Documentation Automatically

1E Nomad

Export SCCM Task Sequence from Configuration Manager Console

You can follow the steps below to export the task sequences using the SCCM console. In the Configuration Manager console, go to the Software Library workspace, expand Operating Systems, and then select the Task Sequences node.

In the Task Sequence list, select the task sequences that you want to export. If you select more than one task sequence, they’re all stored in one export file. Select Export. This action starts the Export Task Sequence Wizard.

SCCM Task Sequence - Select Export
SCCM Task Sequence – Select Export | Export SCCM Task Sequence
  • On the General page, specify the following settings:
    • File: Specify the location and name of the export file. If you enter the file name directly, be sure to include the .zip extension to the file name. If you browse for the export file, the wizard automatically adds this file name extension.

If you don’t want to export task sequence dependencies, deselect the option to Export all task sequence dependencies. By default, the wizard scans for all the related objects and exports them with the task sequence. These dependencies include any applications and child task sequences.

If you don’t want to copy the content from the package source to the export location, deselect the option to Export all content for the selected task sequences and dependencies. If you select this option, the Import Task Sequence Wizard uses the import path as the new package source location.

Administrator comments: Add a description of the task sequences to export.

Easy Steps to Export SCCM Task Sequence 2
Export all task sequence dependencies – Export SCCM Task Sequence

On the Review Relates Objects page, SCCM start validating task sequences that may take a few moments depending on the speed of your network connection.

Easy Steps to Export SCCM Task Sequence 3
Validating specified task sequences – Export SCCM Task Sequence

#With Option Selected – Export all content for the task sequence and dependencies.

Once the selected task sequence is validated, You can see the referenced content lists appears. You can review and click Next to continue.

Easy Steps to Export SCCM Task Sequence 4
Task sequence dependencies – Export SCCM Task Sequence

#Without Option – Export all content for the task sequence and dependencies.

Once the selected task sequence is validated, You will not see the referenced content lists as we haven’t selected the option in the below scenario. You can review the task sequence package and click Next to continue.

Easy Steps to Export SCCM Task Sequence 5
Export SCCM Task Sequence
  • On the Summary page, Review the settings. Click Next.
  • Wait for a moment, while exporting is in progress. After successfully completion, You will see the prompt The task “Export Task Sequence Wizard” completed sucessfully. Click Close to exit the wizard.
Easy Steps to Export SCCM Task Sequence 6
Process completed – Export SCCM Task Sequence

The wizard creates the following output files in a specified file location –

  • If you don’t export content: a .zip file.
  • If you export content: a .zip file and a folder named export_files, where export is the name of the .zip file that contains the exported content.

If you include content when you export a task sequence, make sure that you copy the .zip file and the export_files folder, or the import fails.

Author

About Author -> 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, Windows 11 Deployment solution with Configuration Manager, Microsoft Deployment Toolkit (MDT), and Microsoft Intune.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.