Don Jones’ Favorite PowerShell Cmdlets, Part 7 of 10: Get-QADUser
Okay, this is actually one of a bunch of favorite cmdlets available as a free add-in from www.quest.com/powershell. They give PowerShell v1 what it’s been sorely missing: Real, command-line Active Directory management. Get-QADUser, for example, retrieves users, as the name implies - but also has built-in filtering capabilities:
Get-QADUser -city Liverpool
Liverpool office relocating? Easy fix:
Click past the fold for more…
Get-QADUser -city Liverpool | Set-QADUser -city Boston
Big relocation, but easy change since you can pipe user objects between the various cmdlets provided in this add-in. This is one of the cmdlets documented in the PowerShellCommunity.org Cmdlet Directory, and it’s a great way to manage AD. In addition to users, it can manipulate computers, contacts, and other objects from within the directory - groups and organizational units, too. It’s a must-have. And heck, it’s free!
Don Jones is the Lead Scripting Guru for SAPIEN Technologies and a Windows PowerShell MVP. He’s the co-author of Windows PowerShell: TFM, 2nd Edition and is the Windows PowerShell columnist for TechNet Magazine. Don is also the Director for the new centralized, independent PowerShell online community: www.PowerShellCommunity.org.
Get your hands on the full Don Jones Favorite Cmdlets Series at this address:
http://www.realtime-windowsserver.com/type/mt-search.cgi?tag=don%20jones%20favorite%20cmdlets&blog_id=1

Email This!
Digg it!
Del.icio.us
Reddit!
Newsvine