本系列文章介紹如何查找、安裝、使用和刪除 Windows Server 遷移工具。管理員可以使用 Windows Server 遷移工具將服務(wù)器角色、功能、操作系統(tǒng)設(shè)置以及其他數(shù)據(jù)和共享遷移到正在運行 Windows Server 2008 R2 的計算機。
本文介紹如何運行 Windows Server 遷移工具 cmdlet。
Windows Server 2008 R2 的完整安裝選項
使用下列任一過程啟動 Windows PowerShell 并運行 Windows Server 遷移工具 cmdlet。這些過程可以應(yīng)用于源服務(wù)器或目標服務(wù)器。
從「開始」菜單運行 Windows Server 遷移工具的步驟
若要打開 Windows Server 遷移工具自定義 Windows PowerShell 會話,請單擊"開始",指向"管理工具",打開"Windows Server 遷移工具"文件夾,右鍵單擊"Windows Server 遷移工具",然后單擊"以管理員身份運行"。
在新的 Windows PowerShell 會話中運行 Windows Server 遷移工具 cmdlet 的步驟
1、使用提升的用戶權(quán)限打開 Windows PowerShell 會話。若要執(zhí)行此操作,請依次單擊「開始」、"所有程序"、"附件"和"Windows PowerShell",右鍵單擊 Windows PowerShell 快捷方式,然后單擊"以管理員身份運行"。
2、將 Windows Server 遷移工具加載到 Windows PowerShell 會話。若要加載 Windows Server 遷移工具,請鍵入以下內(nèi)容,然后按 Enter。
Add-PSSnapin Microsoft.Windows.ServerManager.Migration
從"命令提示符"窗口中運行 Windows Server 遷移工具的步驟
1、使用提升的用戶權(quán)限打開"命令提示符"。若要執(zhí)行此操作,請單擊"開始",右鍵單擊"命令提示符",然后單擊"以管理員身份運行"。
2、在命令提示符下鍵入以下內(nèi)容,然后按 Enter。
powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1
Windows Server 2008 R2 的服務(wù)器核心安裝選項
使用下列任一過程啟動 Windows PowerShell 并使用 Windows Server 遷移工具 cmdlet。
將 Windows PowerShell 與 Windows Server 遷移工具一同打開的步驟
在運行 Windows Server 2008 R2 服務(wù)器核心安裝選項的計算機上的命令提示符下,鍵入以下內(nèi)容,然后按 Enter。
powershell.exe -PSConsoleFile %SystemRoot%\system32\ServerMigrationTools\ServerMigration.psc1
分別打開 Windows PowerShell 和加載 Windows Server 遷移工具的步驟
1、在命令提示符下,鍵入以下命令,然后按 Enter。
powershell
2、將 Windows Server 遷移工具加載到 Windows PowerShell 會話中。若要加載 Windows Server 遷移工具,請鍵入以下內(nèi)容,然后按 Enter。
Add-PSSnapin Microsoft.Windows.ServerManager.Migration
參考:微軟技術(shù)支持庫。