Configuration manager collections not updating
The script will prompt you for any information needed. To replace these, search for Test.local and specify your domain name. ADManagement #Set Collection Type $Collection Type = Read-Host "Is this a computer or user collection?
If you have any questions about using Active Directory with SCCM (or about using this script below), just leave a comment! " if ($Collection Type -eq "Computer") if ($Collection Type -eq "User") #Build Collection Name and Description $Collection Name = Read-Host "What is the name of the Application group?
For easy reference, I like to prefix any application deployment group with APP_ .
Copy this group name, as you will be pasting it quite a bit in the upcoming steps.
Linking security groups to SCCM deployments will give your environment flexibility with application installations.
This guide covers creating groups and collections and describes a sample deployment.
Roger Zander wrote a brilliant article on Collections in Configuration Manager and some knowledge that aids in designing collection structure to reduce the workload of the Config Mgr hierarchy.
One thing that I remember evaluating a few years back was to leverage direct memberships to a Active Directory Security Groups to reduce the total evaluation time for collections.
Selecting our query attributes We can now specify the security group that will define our query.
The next step is to create a group and a collection.
In Active Directory Users and Computers, create a new security group.
Specify your application deployment settings in the wizard.
Deploying a preexisting application to our AD linked collection The steps above can be quite repetitive if you need to create many AD-based collections. The script below has served our organization well; I hope it helps you.