Installing Windows PowerShell V2 (CTP)

PowerShell Team

We released Windows PowerShell V2 (CTP) a while back. We have introduced remoting and Graphical PowerShell in the CTP and these place some additional set of dependencies on PowerShell installation. The earlier dependency on .Net 2.0 still holds good.

1.       WS-Management v1.1 is required for PowerShell remoting as the remoting infrastructure uses it for connecting to remote computers

2.       .Net 3.0 is required for using Graphical PowerShell

This modifies the behavior of the installer a bit.

1.       Any previous versions of Windows PowerShell that you have installed needs to be removed before this CTP can be installed. This includes v1 RTM and any other pre-release RTM versions like betas, RCs etc. Refer to Uninstalling Previous Versions of PowerShell below to know more about uninstallation steps.

2.       The requirement for WS-Management V1.1 depends on your OS version.

a.       On Windows XP and Windows Server 2003 – WS-Management v1.1 needs to be downloaded and installed, before you can install the CTP. The installer will fail if it detects that the required version of WS-Management is not installed. Refer to http://go.microsoft.com/fwlink/?linkid=100350  for more details

b.      On Windows Vista RTM, the installer will not block, but you will not be able to use remoting features. This is because no public installers are available for WS-Management v1.1 for Windows Vista RTM

c.       WS-Management v1.1 comes preinstalled in Vista SP1 from beta1 and Windows Server 2008 starting beta3. No extra action is required in these cases.

3.       The installer will not block if you do not have .Net 3.0. You can continue to install PowerShell and start to use all the new features with the regular console. If you want to use Graphical PowerShell, then you will need to install .Net 3.0. Graphical PowerShell will fail to launch if it detects that the right version of .Net framework is not available. Refer to http://go.microsoft.com/fwlink/?linkid=105983   for instructions

Uninstalling Previous Versions of PowerShell

PowerShell v1 RTM shipped as updates to the OS. Therefore, it will show up only in the updates section. To look for previous versions, do the following:

 On Windows XP/Server 2003:

·         Go to Add/Remove Programs

·         Select Show Updates

·         Look for any of the following KB numbers which indicate earlier versions of PowerShell

o   KB926139 – Windows PowerShell v1.0 RTM – English Language Version

o   KB926140 – Windows PowerShell v1.0 RTM – Localized Installation Package

o   KB926141 – Windows PowerShell v1.0 RTM – MUI pack

o   KB925228 – Windows PowerShell v1.0 RC2

·         Versions of V1 prior to RC2 are MSI based installations and they will appear as Windows PowerShell in the programs list

·         Uninstall the previous version that’s installed

On Windows Vista:

·         Go to Programs and Features

·         Click on View Installed Updates

·         Look for any of the following KB numbers which indicate earlier versions of PowerShell

o   KB928439 – Windows PowerShell 1.0 RTM

o   KB923569 – Windows PowerShell 1.0 RC2

·         Version of V1 prior to RC2 are MSI based installations and they will appear as Windows PowerShell in the installed programs list

·         Uninstall the previous version that’s installed

On Windows Server 2008:

·         Launch Server Manager

·         Go to Features

·         Click on Uninstall Features. This brings up a list of installed features to choose from

·         Select Windows PowerShell and uninstall

 

Narayanan Lakshmanan [MSFT]

Windows PowerShell Development

 

This posting is provided “AS IS” and confers no rights or warranties.

 

0 comments

Discussion is closed.

Feedback usabilla icon