Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs

Forums » Active Directory and PowerShell

Thread: Quest AD cmdlets on PowerShell V2 CTP


Permlink Replies: 5 - Pages: 1 - Last Post: Nov 10, 2007 4:00 AM by: RichardS
RichardS

Posts: 38
Registered: 6/25/07
Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 6, 2007 11:57 AM
  Click to reply to this thread Reply

The cmdlets don't install on top of the PowerShell V2 CTP.  I got a message as shown

in the attached image.

Iwas installing on XP SP2


Dmitry Sotnikov


Posts: 1,151
Registered: 12/1/06
Re: Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 6, 2007 12:22 PM   in response to: RichardS
  Click to reply to this thread Reply

Another platform to support. ;)


KirkAMunro


Posts: 822
Registered: 3/20/07
Re: Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 6, 2007 1:21 PM   in response to: Dmitry Sotnikov
  Click to reply to this thread Reply

I bet you can work around this by temporarily setting the HKLM:\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion registry value as 1.0, installing the QAD cmdlets, and then setting the registry value back to 2.0.  I just can't test this yet because I don't have the CTP installed yet (although I will soon).

--
Kirk Munro
Poshoholic
http://poshoholic.com

Kirk Munro [MVP]
Poshoholic

My blog: http://poshoholic.com
Follow me on Twitter: http://twitter.com/poshoholic
RichardS

Posts: 38
Registered: 6/25/07
Re: Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 7, 2007 1:53 AM   in response to: RichardS
  Click to reply to this thread Reply

I was thinking of something like that or looking to see if I could just copy any relevant files and register them manually




Dmitry Sotnikov


Posts: 1,151
Registered: 12/1/06
Re: Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 9, 2007 8:26 AM   in response to: RichardS
  Click to reply to this thread Reply

I'll blog about it on Monday, but basically yes, you need to set this registry key to 1.0 before you run the setup, and then change it back to 2.0 once you are done:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\PowerShellEngine\PowerShellVersion


Copying and registering files is much more difficult if not impossible.



RichardS

Posts: 38
Registered: 6/25/07
Re: Quest AD cmdlets on PowerShell V2 CTP
Posted: Nov 10, 2007 4:00 AM   in response to: RichardS
  Click to reply to this thread Reply

Yep - tried changing the registry setting this morning and it works a treat.

You are right about copying the files as well.  It doesn't want to know about registering them after the copy


Legend
MVP: 2501 + pts
Guru: 2001 - 2500 pts
Expert: 751 - 2000 pts
Enthusiast: 31 - 750 pts
Novice: 0 - 30 pts
Moderators
Helpful answer (5 pts)
Answered (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums