http://gallery.technet.microsoft.com/SCCM-2012-R2-PowerShell-308b0f27
A PowerShell module is build for export and importing SCCM collections. Default SCCM PowerShell cmdlts can export and import collections but this will be mof files. This PowerShell module can export all collections and maintaining the folder structure.
The module will import and export:
- Collection Name
- Limiting Collection
- Refresh Type
- Refresh Schedule
- Query Membership Rule
- Include Collection Rule
- Exclude Collection Rule
- Collection Folder
Requirements
- SCCM 2012 R2
- PowerShell module ConfigurationManager should be loaded
- PS Drive should be set to a SCCM Site Server