一、使用 Windows PowerShell 删除 Windows Server 迁移工具的步骤
使用提升的用户权限打开 Windows PowerShell 会话。若要执行此操作,请依次单击「开始」、“所有程序”、“附件”和“Windows PowerShell”,右键单击 Windows PowerShell 快捷方式,然后单击“以管理员身份运行”。
1、将服务器管理器管理单元加载到 Windows PowerShell 会话中。若要加载服务器管理器管理单元,请键入以下内容,然后按 Enter。
Import-Module ServerManager
2、键入以下内容,然后按 Enter。
Remove-WindowsFeature Migration
二、从服务器核心中删除 Windows Server 迁移工具的步骤
在运行 Windows Server 2008 R2 服务器核心安装选项的计算机上的命令提示符下,键入以下内容之一,然后按 Enter1、。
powershell此操作将打开 Windows PowerShell 会话。您必须继续执行下一步,以完成此过程。
ocsetup ServerMigration /uninstall如果输入此命令,则您已完成该过程,不必继续执行下一步。
Pkgmgr /uu:ServerMigration如果输入此命令,则您已完成该过程,不必继续执行下一步。
2、将服务器管理器模块加载到 Windows PowerShell 会话中。若要加载服务器管理器模块,请键入以下内容,然后按 Enter。
Import-Module ServerManager
3、键入以下内容,然后按 Enter。
Remove-WindowsFeature Migration
. TAG: windows server 迁移工具 删除