Archive for the ‘AD’ Category
Query AD group membership with Powershell
Here are a couple of very useful scriptlets if you ever need to enumerate or count the quantity of users in an AD group.
Copy members of one AD group to another group
Today I needed to copy about 300 users from one AD group to another and there was no way I was going to do that manually. So I started looking in to what PowerShell can do adn here is what I found:
Posted on August 3, 2012 at 11:19 by simon · Permalink
· Leave a comment
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
In: AD, Power Shell · Tagged with: AD, copy, dsquery, PowerShell, users
Find the distinguished name of an AD object (DSQUERY)
This post got me out of a hole today so i have reproduced it here for posterity –