Just a day after AD cmdlets got mentioned in the PowerShell blog Quest’s site got updated with version 1.0.1 (actually 184.108.40.206) of AD cmdlets. If you were too early to the site and got version 1.0 don’t go – run to the site and get 1.0.1 instead.
Actually when I was blogging about AD cmdlets before (AD cmdlets overview, MMS Hands-On Labs, Domain Statistics) I was often using this version because I was lucky enough to get access to the earlier builds and loved them much more than1.0.
Here’s a quick description of the cmdlets and what they do:
New-QADUser – create new AD user.
Get-QADUser – get an AD user or a collection of users (based on any properties, wildcards, etc.)
Set-QADUser – change user properties.
Get-QADGroup – find a group (or a collection of groups) from Active Directory based on any criteria and see their members.
New-QADGroup – create a new AD group.
Get-QADGroupMember – get a list of members for a group or group membership for a user.
Add-QADGroupMember – add user (users) to a group.
Remove-QADGroupMember – remove user (users) from a group.
Not much here at the moment- just Get-QADComputer – to get a list of computers and their properties.
(Check out the Computers pack at PowerGUI.org for more functionality on actual computer management: various properties such as patch level, and actions such as remote shutdown and restart. Just go to http://PowerGUI.org, go to Library, find Computers (from current domain), and add it to your PowerGUI console.)
Connect-QADService – specify a specific DC or credentials for the PowerShell session. (If you own Quest’s commercial AD management tool – ActiveRoles Server – this cmdlets can also be used to make all your policies and approval workflows apply to your scripts.)
Disconnect-QADService – reset the AD connection.
These Get/Set/New cmdlets let you manage the objects not yet covered by other cmdlets – you will just have to supply the parameter names, type, etc. – a stop gap solution still more handy than ADSI.
I will later post more on using these cmdlets later. The team is promising to get new releases now almost bi-weekly with more and more cmdlets coming. Feel free to leave your comments as to what they should address first.
P.S. The download is free but requires registration. If you don’t want Quest to keep your registration info you can send an email to an alias mentioned in the privacy statement and have your records removed.