I’m currently doing some intense SCCM 2012 training so I’ve not been posting or in the forums recently. I’ve still been responding to emails though.
I received an email from a reader earlier this week. He wanted to add the current computer to an AD security group during his deployment.
It turns out that I wrote such a script a few weeks earlier. It’s in the repository here.
The script will add the current computer to an AD Group that is set in the customsettings.ini
The script is then run in a task sequence with the command line:
The code below is a sample of the customsettings.ini changes.
[Settings] Priority=Default Properties=CustomProperty, ADGroup [Default] OSInstall=Y ADGroup = LDAP://CN=IT Computers,OU=Groups,DC=corp,DC=continuum,DC=com
The code is “As is”. No refunds!