Server Migration Cmdlets in Windows PowerShell

Windows PowerShell® は、特にシステム管理用に設計された、タスク ベースのコマンド ライン シェルおよびスクリプト言語です。情報技術 (IT) プロフェッショナル向けのこの参照トピックは、スクリプトを作成してタスクを自動化するために Windows PowerShell コマンドレットを活用するうえでのサポートとなります。

Server Migration Cmdlets

This reference provides cmdlet descriptions and syntax for all Server Migration cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Administrators can use the Windows Server Migration Tools cmdlets for Windows PowerShell to migrate server roles, features, operating system settings, and other data and shares to computers that are running the latest version of Windows Server. For more information about how to migrate specific roles and features, see Migrate Roles and Features to Windows Server 2012.

注意

Help for the cmdlets in the Windows Server Migration Tools module cannot be updated on your computer by running the Update-Help cmdlet.

Cmdlet Description

Export-SmigServerSetting

Exports selected Windows features and operating system settings from the local computer, and stores them in a migration store.

Get-SmigServerFeature

Gets the set of all Windows features that can be migrated from the local server or from a migration store.

Import-SmigServerSetting

Imports selected Windows features and operating system settings from a migration store, and applies them to the local computer.

Receive-SmigServerData

Allows a destination server to receive shares, folders, files, and associated permissions and share properties that are migrated from a source server. The cmdlet Send-SmigServerData must be run on the source server at the same time Receive-SmigServerData is running on the destination server.

Send-SmigServerData

Migrates folders, files, and associated permissions and share properties from a source server to a destination server through port 7000. The cmdlet Receive-SmigServerData must be run on the destination server at the same time Send-SmigServerData is running on the source server.

To list all the cmdlets that are available, use the following commands:

PS C:\> Add-PSSnapin Microsoft.Windows.ServerManager.Migration
PS C:\> Get-Command -Module Microsoft.Windows.ServerManager.Migration

任意のコマンドレットの詳細について、またはコマンドレットの構文の詳細については、Get-Help <コマンドレット名> コマンドレットを使用します。ここで、<コマンドレット名> は、調べようとするコマンドレットの名前です。詳細については、次のコマンドレットを実行できます。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full

More Information

For more information about the cmdlets, see the following:

Install, Use and Remove Windows Server Migration Tools
Windows Server 2012 Migration Portal
Windows Server Migration forums on Microsoft TechNet