Archive for November 12th, 2007

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:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\
    PowerShell\1\PowerShellEngine\
    and change the value of PowerShellVersion from 2.0 to 1.0:
  2. Install AD cmdlets.
  3. Change HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell
    \1\PowerShellEngine\PowerShellVersion
    back to 2.0.

IMPORTANT:

  • 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: , , , , , ,


My Recent Tweets

Legal

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
M T W T F S S
 1234
567891011
12131415161718
19202122232425
2627282930  

%d bloggers like this: