This script shows how to create non-compliant collections in System Center 2012 Configuration Manager SP1.
In SCCM 2012, you can create configuration baselines to manage the configuration and compliance of servers, laptops, desktop computers, and mobile devices. After reviewing the compliance report, you will create collections and take actions to make sure these users or devices meet configuration baselines.
You can create a Compliant/Error/Non-Compliant/Unknown collection for single configuration baseline deployment by using SCCM 2012 admin console, but it’s reasonable that a configuration baseline will be deployed to multiple collections. But you find you cannot create multiple collections for single configuration baseline deployment as following screenshot shows.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery