卸载以前版本的 Windows PowerShell 和 Windows 远程管理

 

适用于: Exchange Server 2010 SP2, Exchange Server 2010 SP3

上一次修改主题: 2011-03-19

您需要先卸载以前版本的 Windows PowerShell 和 Windows 远程管理 (WinRM),然后才能安装 Windows Management Framework,其中包括 Windows PowerShell 2.0 和 WinRM 2.0。此过程应在运行 Windows Vista、Windows Server 2008、Windows Server 2003 或 Windows XP 的计算机上执行。

不必在运行 Windows 7 或 Windows Server 2008 R2 的计算机上执行此步骤。Windows Management Framework 的最新版本已在这些操作系统上安装。

若要了解与 Windows PowerShell 和 Windows 远程管理相关的其他管理任务,请查看管理 Exchange 命令行管理程序连接

备注

如果要在已安装 Microsoft Exchange Server 2010 的计算机上运行远程命令行管理程序,则不必执行此步骤。有关如何在安装了 Exchange 管理工具的情况下打开命令行管理程序的详细信息,请参阅打开命令行管理程序

希望执行何种操作?

  • 在 Windows Vista 上删除 Windows PowerShell

  • 在安装了 Windows PowerShell 的内置版本的 Windows Server 2008 上删除 Windows PowerShell

  • 在安装了 Windows PowerShell 2.0 的预发布版本的 Windows Server 2008 上删除 Windows PowerShell

  • 在 Windows Vista 和 Windows Server 2008 上删除 WinRM

  • 在 Windows Server 2003 和 Windows XP 上卸载 Windows PowerShell

  • 删除 Windows Server 2003 和 Windows XP 上的 WinRM

在 Windows Vista 上删除 Windows PowerShell

您必须先获得权限,然后才能执行此过程。若要查看所需的权限,请参阅 Exchange 和命令行管理程序基础结构权限主题中的“PowerShell 和 WinRM 安装”条目。

  1. 在“控制面板”中的“程序”中,打开“程序和功能”。

  2. 卸载在已安装的程序列表或已安装的更新列表中出现的任何 Windows PowerShell 实例。如果已安装 Windows PowerShell v2 的 Community Technology Preview (CTP) 版本,则之前的版本可能显示为 Windows PowerShell(TM) V2。如果已安装 Windows PowerShell v1,则可能作为以下知识库文章编号之一所标识的 Windows 更新列出:

    • KB928439

    • KB923569

    备注

    您可能需要单击“任务”边栏上的“查看已安装的更新”链接来查看当前已安装的更新。

在安装了 Windows PowerShell 的内置版本的 Windows Server 2008 上删除 Windows PowerShell

您必须先获得权限,然后才能执行此过程。若要查看所需的权限,请参阅 Exchange 和命令行管理程序基础结构权限主题中的“PowerShell 和 WinRM 安装”条目。

  1. 启动“服务器管理器”,并导航到“功能”。

  2. 单击“卸载功能”。

  3. 选择“Windows PowerShell”,并按照指示执行卸载。

在安装了 Windows PowerShell 2.0 的预发布版本的 Windows Server 2008 上删除 Windows PowerShell

您必须先获得权限,然后才能执行此过程。若要查看所需的权限,请参阅 Exchange 和命令行管理程序基础结构权限主题中的“PowerShell 和 WinRM 安装”条目。

  1. 在“控制面板”中,在“程序”中,打开“程序和功能”。

  2. 卸载在已安装的程序列表或已安装的更新列表中出现的任何 Windows PowerShell 实例。

    备注

    您可能需要单击任务侧栏中的“查看已安装的更新”链接以查看当前已安装的更新。

在 Windows Vista 和 Windows Server 2008 上删除 WinRM

您必须先获得权限,然后才能执行此过程。若要查看所需的权限,请参阅 Exchange 和命令行管理程序基础结构权限主题中的“PowerShell 和 WinRM 安装”条目。

  1. 在“控制面板”中,在“程序”中,打开“程序和功能”。

  2. 卸载在已安装的程序列表或已安装的更新列表中出现的 Windows 远程管理的任何实例。WinRM 可能在以下知识库文章中被列为 Windows 更新:

    • KB936059

    • KB950099

    备注

    您可能需要单击任务侧栏中的“查看已安装的更新”链接以查看当前已安装的更新。

在 Windows Server 2003 和 Windows XP 上卸载 Windows PowerShell

  1. 在“控制面板”中,打开“添加或删除程序”。

  2. 卸载在已安装的程序列表或已安装的更新列表中出现的任何 Windows PowerShell 实例。Windows PowerShell 可能在知识库文章 KB926139 中被列为 Windows 更新。

    备注

    您可能需要选中“显示更新”复选框来查看当前已安装的更新。

删除 Windows Server 2003 和 Windows XP 上的 WinRM

  1. 在“控制面板”中,打开“添加或删除程序”。

  2. 卸载在已安装的程序列表或已安装的更新列表中出现的 Windows 远程管理的任何实例。WinRM 可能作为知识库文章编号 KB936059 所标识的 Windows 更新列出。

    备注

    您可能需要选择“显示更新”框以查看当前已安装的更新。

其他任务

卸载完之前安装的所有 Windows PowerShell 和 WinRM 版本后,您需要安装 Windows Management Framework。有关详细信息,请参阅安装 Windows Management Framework