Installing AD cmdlets on PowerShell v2 CTP

Richard has put together a PowerShell v2 compatibility list and noted that AD cmdlets 1.0.5 setup would not let you install on v2 CTP.

This will be fixed in the next drop of AD cmdlets but if you want to work around the issue with 1.0.5 here are the steps:

  1. Before running the AD cmdlets setup, go to the registry, navigate to:
    and change the value of PowerShellVersion from 2.0 to 1.0:
  2. Install AD cmdlets.
  3. Change HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
    back to 2.0.


  • Manual registry editing is dangerous and should be exercised with extreme caution.
  • PowerShell v2 is CTP and AD cmdlets have not been extensively tested on it – please don’t use this in production.

Please report any issues to PowerShell AD forum.

Tags: , , , , , ,


2 Responses to “Installing AD cmdlets on PowerShell v2 CTP”

  1. 1 THOMAS LEE November 12, 2007 at 11:56 am

    1. In step 1, I think you mean, chance 2.0 to 1.0.

    2. Also, the Registry key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine, but the value entry you need to edit is the PowerShellVersion value which is actually a string value.

  2. 2 dmitrysotnikov November 12, 2007 at 7:38 pm

    Fixed both typos. Thanks Thomas!

Leave a Reply

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

You are commenting using your 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 )

Google+ photo

You are commenting using your Google+ 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

November 2007
« Oct   Dec »

%d bloggers like this: