Server Migration Cmdlets in Windows PowerShell

Windows PowerShell® ist eine aufgabenbasierte Befehlszeilenshell- und Skriptsprache, die speziell für die Systemverwaltung entwickelt wurde. Dieses Referenzthema für IT-Profis bietet Unterstützung beim Einsatz von Windows PowerShell-Cmdlets, um Skripts für Aufgaben zu erstellen und sie zu automatisieren.

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.

Hinweis

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

Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help <Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:

Get-Help <Cmdlet-Name> -Detailed
Get-Help <Cmdlet-Name> -Examples
Get-Help <Cmdlet-Name> -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