Quick Reference to AD cmdlets 1.0.4

One downside of blogging is that you end up having information scattered through the blog rather than available in a nice well designed document. So I decided to put together a quick summary of the AD cmdlets currently available in v1.0.4.

As a reminder you can download the PowerShell AD cmdlets and full documentation completely free from this site.

So here’s the alphabetical list of the ones we currently have:

Hope this is a helpful summary. Full AD PowerShell documentation can be found here. Also, if you have any questions AD PowerShell discussion forums are the way to go.


Tags: , , , ,


14 Responses to “Quick Reference to AD cmdlets 1.0.4”

  1. 1 ba baracus September 6, 2007 at 11:06 am


    I have an AD OU with lots of users in it, some of their user homedrive properties are set to M: and others are set to U: . I need to ensure that all users have their home drive attribute set to U: . My question is it possible to set the homedrive attribute for users in an OU all to the same U: drive letter?

    (I already have Activeroles ActiveDirectory snapin installed).

  2. 2 dmitrysotnikov September 6, 2007 at 12:27 pm


    homeDrive is currently not exposed as a parameter, so you will have to use the -ObjectAttributes parameter instead (see https://dmitrysotnikov.wordpress.com/2007/07/25/set-any-ad-attribute-with-powershell/ for details). For example, to set homeDrive for a particular user you can run:

    Set-QADUser testuser -ObjectAttributes @{homeDrive=’U:’}

    To do this for all users in an OU I would run:

    Get-QADUser -SearchRoot quest.local/Employees -SearchScope OneLevel | Set-QADUser -ObjectAttributes @{homeDrive=’U:’} -Confirm

    Hope this helps!

  3. 3 ba baracus September 6, 2007 at 1:27 pm

    Thanks dmitry, i have been searching around for ages for a solution to this. When you say “not currently exposed as a parameter” is there a specific reason for this?

  4. 4 dmitrysotnikov September 6, 2007 at 2:01 pm

    Just the desire to start shipping something before the AD cmdlets are fully done. We basically had 2 options fully design and engineer the cmdlets and release them at the end of the year, or prioritize and start delivering the functionality in monthly releases.

    We picked the second option and I think this was the right way to do. The current version 1.0.4 provides most of the functionality one needs and has workarounds to most of the missing parts (home drives being a good example). We are also getting early feedback from the community (e.g. in this forum: http://powergui.org/forum.jspa?forumID=173) which helps prioritize the dev effort so it works good for both us and the community.

  5. 5 Jonathan Walz September 25, 2007 at 6:04 pm

    Hello Dmitry,
    I just wanted to say thank you for your work on this project. I love the Quest AD cmdlets, they have saved me a bunch of time. I have been amazed by the responsiveness of Quest on these as well. There have been a couple of times already that I have said something on the PowerScripting Podcast about an issue I had using the cmdlets and it was fixed in the next release.

  6. 6 dmitrysotnikov September 26, 2007 at 9:22 am


    Whatever makes you reference our work in your podcast more often. 😉

    By the way, your podcast keeps getting better and better and gaining more and more tractions. When I first learned you were planning to do this I thought: who would need a podcast about scripting? But now I see that I was absolutely wrong and what you are doing is just great for this community! Just mention PowerGUI and AD cmdlets more often. 😉


  1. 1 The PowerShell Guy : Quick Reference to AD cmdlets 1.0.4 Trackback on August 30, 2007 at 8:46 pm
  2. 2 Quick reference guide to AD PowerShell cmdlets « MogBlog Trackback on August 30, 2007 at 10:49 pm
  3. 3 11 Essential AD Tools replaced with PowerShell « Dmitry’s PowerBlog: PowerShell and beyond Trackback on September 3, 2007 at 9:35 am
  4. 4 New AD cmdlets demo « Dmitry’s PowerBlog: PowerShell and beyond Trackback on September 17, 2007 at 8:16 am
  5. 5 Bulk group type & scope change « Dmitry’s PowerBlog: PowerShell and beyond Trackback on September 26, 2007 at 1:16 pm
  6. 6 AD cmdlets in the voting booth « Dmitry’s PowerBlog: PowerShell and beyond Trackback on September 27, 2007 at 3:22 pm
  7. 7 PowerScripting Podcast - Episode 9 « PowerScripting Podcast Trackback on October 1, 2007 at 2:54 am
  8. 8 Removing AD Attributes « Dmitry’s PowerBlog: PowerShell and beyond Trackback on December 18, 2007 at 12:00 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

My Recent Tweets


The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

August 2007

%d bloggers like this: