AD Archives - Sion IT

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.

Posted on October 25, 2012 at 14:47 by simon · Permalink · Leave a comment
In: AD, Power Shell

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: , , , ,

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 –

Posted on July 13, 2012 at 17:52 by simon · Permalink · Leave a comment
In: AD · Tagged with: , ,