Automating the world one-liner at a time…
More great cmdlets from our partners. Quest Software, known for its ActiveRoles Server and PowerGUI, is offering its new Active Directory cmdlets to the community free of charge.
To get them, click: PowerShell Cmdlets for Active Directory.
The ZIP file includes a Setup.exe executable that registers the PsSnapin and adds it to a custom console. To open the console, click: Start | All Programs | Quest Software | ActiveRoles Server | ActiveRoles Management Shell for Active Directory (beta).
Quest graciously used a "QAD" prefix on their nouns, instead of "AD" to leave room for "official" Active Directory cmdlets.
To find them in PowerShell, type:
get-command -pssnapin quest*
The download site also offers documentation for the cmdlets with some handy examples.
(Just FYI, the examples use a $pwd variable to store passwords. If you use this variable name, it overwrites the $pwd automatic variable that stores the path to the current directory.)
And be sure to check out the free PowerShell Directory Services provider in PowerShell Community Extensions PSCX 1.1. The PowerShell Guy has a nice demo of the provider. (Sorry for missing this!)
June Blender [MSFT]Senior Programming WriterWindows PowerShell
PSCX has an AD Provider that can be found at
It would be great to see some examples of using the PSCX provider in conjunction with the cmdlets provided by Quest.
June... so soon you forget PSCX 1.1 ;)
PSCX 1.1 has an AD Provider
good examples of use:
I thought pscx1.1 had a provider already.
See MoW's article. http://thepowershellguy.com/blogs/posh/archive/2007/04/06/powershell-community-extensions-active-directory-provider-part-1.aspx
PSCX 1.1 includes an AD provider.
I wonder if PSCX includes an AD Provider. :-)
In Colorado, that's what we used to call, "all crosshairs on the same gopher".
Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
With Powershell and a Passion for FREE STUFF!
PSCX has its believers :)
Ack! You can't forget what you never knew. Sorry about that -- time to investigate the community extensions.
Can someone write a cmdlet to increase the day to 30 hours?
I posted some details on the AD cmdlets here: http://dmitrysotnikov.wordpress.com/2007/04/14/ad-cmdlets-101-available/
I posted some details on the AD cmdlets here: <a href="http://dmitrysotnikov.wordpress.com/2007/04/14/ad-cmdlets-101-available/">http://dmitrysotnikov.wordpress.com/2007/04/14/ad-cmdlets-101-available/</a>
how would I call these from VB? I can call my Exchange shell commands with the following, but how with Qwest?
'The following code opens a runspace that has access to the Exchange Management Shell.
rsConfig = RunspaceConfiguration.Create()
info = rsConfig.AddPSSnapIn("Microsoft.Exchange.Management.PowerShell.Admin", snapInException)
myRunspace = RunspaceFactory.CreateRunspace(rsConfig)
The powershell commands are so elementary they could be written in less time than it would take to run the installer.
I am very surprised that everyone taking about AD Cmdlets and how to use it. But where we can get the Active Directory Cmdlets (not online) help files from Microsoft? Whether MS don't have any documentation on Cmdlets for each module released in Windows 2008 R2?