Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2

Topic Last Modified: 2011-03-19

You need to uninstall previous versions of Windows PowerShell and Windows Remote Management (WinRM) before you can install Windows Management Framework, which includes Windows PowerShell 2.0 and WinRM 2.0. This procedure should be performed on computers running Windows Vista, Windows Server 2008, Windows Server 2003, or Windows XP.

You don't need to perform this procedure on computers running Windows 7 or Windows Server 2008 R2. The current version of Windows Management Framework is already installed on these operating systems.

Looking for other management tasks related to Windows PowerShell and Windows Remote Management? Check out Managing Exchange Management Shell Connections.

Note:
If you want to run remote Shell on a computer that already has Microsoft Exchange Server 2010 installed, you don't need to perform this procedure. Instead, for more information about how to open the Shell with the Exchange management tools installed, see Open the Shell.

What Do You Want To Do?

Remove Windows PowerShell on Windows Vista

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "PowerShell and WinRM installation" entry in the Exchange and Shell Infrastructure Permissions topic.

  1. In Control Panel, in Programs, open Programs and Features.

  2. Uninstall any instances of Windows PowerShell that appear in the installed programs list or the installed updates list. Previous versions may appear as Windows PowerShell(TM) V2 if you have installed the Community Technology Preview (CTP) versions of Windows PowerShell v2. If Windows PowerShell v1 is installed, it might be listed as a Windows update with one of the following Knowledge Base article numbers:

    • KB928439

    • KB923569

    Note:
    You might need to click the View installed updates link in the Tasks sidebar to view currently installed updates.

Remove Windows PowerShell on Windows Server 2008 with the built-in version of Windows PowerShell installed

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "PowerShell and WinRM installation" entry in the Exchange and Shell Infrastructure Permissions topic.

  1. Start Server Manager and navigate to Features.

  2. Click Uninstall Features.

  3. Select Windows PowerShell and follow the directions to uninstall.

Remove Windows PowerShell on Windows Server 2008 with a pre-release version of Windows PowerShell 2.0 installed

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "PowerShell and WinRM installation" entry in the Exchange and Shell Infrastructure Permissions topic.

  1. In Control Panel, in Programs, open Programs and Features.

  2. Uninstall any instances of Windows PowerShell that appear in the installed programs list or the installed updates list.

    Note:
    You might need to click the View installed updates link in the Tasks sidebar to view currently installed updates.

Remove WinRM on Windows Vista and Windows Server 2008

You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "PowerShell and WinRM installation" entry in the Exchange and Shell Infrastructure Permissions topic.

  1. In Control Panel, in Programs, open Programs and Features.

  2. Uninstall any instances of Windows Remote Management that appear in the installed programs list or the installed updates list. WinRM might be listed as a Windows update with one of the following Knowledge Base articles numbers:

    • KB936059

    • KB950099

    Note:
    You might need to click the View installed updates link in the Tasks sidebar to view currently installed updates.

Remove Windows PowerShell on Windows Server 2003 and Windows XP

  1. In Control Panel, open Add or Remove Programs.

  2. Uninstall any instances of Windows PowerShell that appear in the installed programs list or the installed updates list. Windows PowerShell might be listed as a Windows update with the Knowledge Base article number KB926139.

    Note:
    You might need to select the Show updates box to view currently installed updates.

Remove WinRM on Windows Server 2003 and Windows XP

  1. In Control Panel, open Add or Remove Programs.

  2. Uninstall any instances of Windows Remote Management that appear in the installed programs list or the installed updates list. WinRM might be listed as a Windows update with the Knowledge Base article number KB936059.

    Note:
    You might need to select the Show updates box to view currently installed updates.

Other Tasks

After you uninstall all previously installed versions of Windows PowerShell and WinRM, you need to install Windows Management Framework. For more information, see Install Windows Management Framework.