服务器 频道

Win2008 R2迁移实战之迁移工具使用

  【IT168 应用技巧】微软的Windows Server 2008 R2在性能和功能上都得到了前所未有的提升,诸多企业可将旧有的Windows Server 2003等服务器角色、操作系统设置和数据迁移到运行Win2008 R2。本文则介绍如何运行 Windows Server 迁移工具 cmdlet。

  一、Windows Server 2008 R2 的完整安装选项

  使用下列任一过程启动 Windows PowerShell 并运行 Windows Server 迁移工具 cmdlet。这些过程可以应用于源服务器或目标服务器。

  从「开始」菜单运行 Windows Server 迁移工具的步骤

  若要打开 Windows Server 迁移工具自定义 Windows PowerShell 会话,请单击“开始”,指向“管理工具”,打开“Windows Server 迁移工具”文件夹,右键单击“Windows Server 迁移工具”,然后单击“以管理员身份运行”。

  在新的 Windows PowerShell 会话中运行 Windows Server 迁移工具 cmdlet 的步骤

  1、使用提升的用户权限打开 Windows PowerShell 会话。若要执行此操作,请依次单击「开始」、“所有程序”、“附件”和“Windows PowerShell”,右键单击 Windows PowerShell 快捷方式,然后单击“以管理员身份运行”。

  2、将 Windows Server 迁移工具加载到 Windows PowerShell 会话。若要加载 Windows Server 迁移工具,请键入以下内容,然后按 Enter。

  Add-PSSnapin Microsoft.Windows.ServerManager.Migration

  从“命令提示符”窗口中运行 Windows Server 迁移工具的步骤

  1、使用提升的用户权限打开“命令提示符”。若要执行此操作,请单击“开始”,右键单击“命令提示符”,然后单击“以管理员身份运行”。

  2、在命令提示符下键入以下内容,然后按 Enter。

  powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1

  二、Windows Server 2008 R2 的服务器核心安装选项

  使用下列任一过程启动 Windows PowerShell 并使用 Windows Server 迁移工具 cmdlet。

  将 Windows PowerShell 与 Windows Server 迁移工具一同打开的步骤

  在运行 Windows Server 2008 R2 服务器核心安装选项的计算机上的命令提示符下,键入以下内容,然后按 Enter。

  powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1

  分别打开 Windows PowerShell 和加载 Windows Server 迁移工具的步骤

  1、在命令提示符下,键入以下命令,然后按 Enter。

  powershell

  2、将 Windows Server 迁移工具加载到 Windows PowerShell 会话中。若要加载 Windows Server 迁移工具,请键入以下内容,然后按 Enter。

  Add-PSSnapin Microsoft.Windows.ServerManager.Migration

0
相关文章