Active Directory Import Computer Groups

Context -
This gave a some user the ability to quickly assign AD groups / thereby assigning previous applications. I would later automate this in a task sequence.

posted Oct 13, 2014, 9:59 PM 

First things first...locate your export generated from Active Directory Export Computer Groups cause we are going to need it.  DL the following script - Import-ADComputerGroup.  Right Click and select Run with PowerShell

ps7.png

We have seen this before...move along...nothing to see here..... :)

PS3.png

Cant leave this one blank people...and no that's not my nickname...well maybe sometimes!!

ps8.png

Path cant be blank...and the path must exist...and the file name must be of the .log variety.  Why is that?  The reason for this approach was to help minimize any accident's.  The export script exports in a .log format as well.

ps9.png

One other thing to note here....say for example u export a group that is not a CM group...u will see the following message and a reference to that erroneous group.  Again, another safeguard....

ps12.png

Once u get your path and file name correct u will see the results of the machine being added to the various groups.

ps10.png

A quick check of Active Directory Users and Computers...

ps11.png

Done, done on to the next one.....

Previous
Previous

Kernel-Mode-Driver-Framework

Next
Next

Active Directory Export Computer Groups