Skip to content
Easy Steps to Duplicate SCCM Collection | PowerShell

Easy Steps to Duplicate SCCM Collection | PowerShell

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

Let’s understand how to duplicate SCCM Collection. Most management tasks rely on or require using one or more collections, Copying an existing SCCM collection is useful when you need to create a similar group to perform testing on different scenarios.

Instead of creating a collection from scratch, you can use the helpful management options. Although you can use the built-in collection of All Systems, using it for management tasks is not a best practice. Create custom collections to more specifically identify the devices or users for a task.

The site creates a new collection and appends [1], [2].. to the name. While the site copies most of the collection properties to the new collection, it doesn’t copy any active deployments.

The SCCM device export and import options are available. You can export the device details from collection to a CSV file using the copy (CTRL + C) and paste (CTRL + V) option from a device collection or the All Devices node.

Patch My PC

Duplicate SCCM Collection using Device Collections Wizard

Let’s follow the steps to duplicate collections in SCCM. To duplicate existing collections –

In the Configuration Manager console, go to the Software Library workspace, expand Assets and Compliance, and select the Device Collections node.

Select an existing device collection (For Example, HTMD Co-Managed Devices) in the Device Collections node you want to copy.

Learn more about the SCCM collection for Co-Managed Devices -> Create SCCM Collection for Co-Managed Devices

Select Device Collection - Duplicate SCCM Collection using Device Collections Wizard 1
Select Device Collection – Duplicate SCCM Collection using Device Collections Wizard 1

Right-click on the collection and choose Copy.

Select Copy - Duplicate SCCM Collection using Device Collections Wizard 2
Select Copy – Duplicate SCCM Collection using Device Collections Wizard 2

Once the copy process completes, it appears in the console under the Device Collections node. You can easily identify the duplicate collections in the SCCM console. The duplicated collection has [1] appended to the name.

For Example: Here you can see copied device collections name HTMD Co-Managed Devices[1]. However, You can edit the name and other parameters by navigating to collections properties and Save.

Collection Copied Sucess - Duplicate SCCM Collection using Device Collections Wizard
Collection Copied Sucess – Duplicate SCCM Collection using Device Collections Wizard 3

The duplicate collections, retain all added membership rules, collection variables, and configurations and copy all the added members to duplicate collections. In some scenarios, you will notice the members are not copied if the collections are automated with scripts.

Collection Member Count - Duplicate SCCM Collection using Device Collections Wizard 4
Collection Member Count – Duplicate SCCM Collection using Device Collections Wizard 4

The deployments are not copied. You can validate from the details pane, Switch to the Deployment tab. You will see the collections don’t have active deployments.

Deployments tab - Duplicate SCCM Collection using Device Collections Wizard 5
Deployments tab – Duplicate SCCM Collection using Device Collections Wizard 5

Duplicate SCCM Collection using PowerShell

Let’s quickly look at options to clone collections with the PowerShell Commands or SCCM PowerShell cmdlets. The first step is to 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.

Duplicate SCCM Collection using PowerShell
Duplicate SCCM Collection using PowerShell

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

Use this Copy-CMCollection cmdlet to clone an existing collection to a new copy, This command exports the collection named HTMD Co-Managed Devices to a new collection named Co-Managed Devices Testing.

Note – You can also specify the Collection ID of a collection to copy.

Copy-CMCollection -Name "HTMD Co-Managed Devices" -NewName "Co-Managed Devices Testing"
Duplicated Collections - Duplicate SCCM Collection using PowerShell
Duplicated Collections – Duplicate SCCM Collection using PowerShell
  • Copy-CMCollection
  • -Name <String>: Specify the name of a collection to copy.
  • -Id <String>: Specify the ID of a collection to copy. This value is the CollectionID property.
  • [-NewName ]: Specify the name of the new collection.

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

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