Server Migration Cmdlets in Windows PowerShell

Windows PowerShell® es un lenguaje de scripting y shell de línea de comandos basado en tareas diseñado especialmente para la administración del sistema. En este tema de referencia para los profesionales de tecnologías de la información (TI) ofrece ayuda en el uso de los cmdlets de Windows PowerShell para crear scripts y automatizar las tareas.

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.

Nota

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

Para conocer más información o la sintaxis de cualquiera de los cmdlets, use el cmdlet Get-Help <nombre de cmdlet>, donde <nombre de cmdlet> es el nombre del cmdlet del que quiere información. Para obtener información más detallada, puede ejecutar cualquiera de los siguientes cmdlets:

Get-Help <nombre de cmdlet> -Detailed
Get-Help <nombre de cmdlet> -Examples
Get-Help <nombre de cmdlet> -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