Powershell:如何卸载Powershell pre-v。 2.0?

我试图安装PowerShell 2.0,它告诉我我需要卸载一个较早的版本? 它不在已安装的应用程序列表中,在system32下的windowspowershell \ v1.0目录中没有明显的卸载。

您必须在“添加/删除程序”中选中“显示更新”以查看Powershell。

除非你已经做了一个服务包,否则像所述的任何其他Windows更新一样删除它。 因为PS作为更新安装,所以服务打包将删除卸载caching。 老实说,回滚SP更容易,删除PS更新,并重新包装的东西。 所以升级到Vista或者不做任何计划;)

如何卸载Windows PowerShell 1.0要卸载Windows PowerShell 1.0,请按照适用于您的操作系统的步骤进行操作。 Windows Vista单击开始,在开始search框中键入appwiz.cpl,然后按ENTER键。 在任务列表中,单击查看已安装的更新。 在卸载更新列表中,用鼠标右键单击Windows PowerShell(TM)1.0(KB928439),然后单击卸载。 按照说明卸载Windows PowerShell 1.0。

注意如果您通过使用打开或closuresWindowsfunction选项禁用Windows PowerShell,这不符合兼容性检查过程。 您必须卸载Windows PowerShell。 Windows Server 2003单击开始,单击运行,键入appwiz.cpl,然后单击确定。 单击以选中显示更新checkbox。 在“当前安装的程序和更新”列表中,find安装Windows PowerShell 1.0的修补程序的条目。 Windows Server 2003的修补程序(KB926139)Windows Server 2003的修补程序(KB926140)Windows Server 2003修补程序(KB926141)单击Windows PowerShell修补程序条目,然后单击删除。 按照说明卸载Windows PowerShell 1.0的修补程序。 注意默认情况下,如果Windows Server 2003 Service Pack 2安装在系统上,PowerShell 1.0不能被卸载。 要解决此问题,请按照下列步骤操作:按照以下Microsoft知识库(KB)文章931941中的步骤信任KB926139中引入的Windows PowerShell 1.0:931941( http://support.microsoft.com/kb/ 931941 / )安装Windows Server 2003 Service Pack 2后,可以使用Oobmig.exe工具将信任恢复为带外更新。注意您可能必须重新启动计算机。 检查是否可以使用控制面板卸载更新。 如果以这种方式无法卸载更新,请从以下位置手动卸载PowerShell:C:\ WINNT \ $ NtUninstallKB926139 $ \ spuninst \ spuninst.exe注意您可能必须重新启动计算机。 Windows XP单击开始,单击运行,键入appwiz.cpl,然后单击确定。 单击以选中显示更新checkbox。 在“当前安装的程序和更新”列表中,单击“Windows PowerShell(TM)1.0”,然后单击“删除”。 按照说明卸载Windows PowerShell 1.0。