Set-CMMigrationSource
Set-CMMigrationSource
Specifies or changes settings for a migration source site in Configuration Manager.
Syntax
Parameter Set: SetMigrationSource
Set-CMMigrationSource -SourceSiteServerName <String> [-EnableDistributionPointSharing <Boolean> ] [-SmsProviderAccount <String> ] [-SqlServerAccount <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
Detailed Description
The Set-CMMigrationSource cmdlet specifies or changes settings for a migration source site in Microsoft System Center 2012 SP1 Configuration Manager. To enable migration of data to your System Center 2012 Configuration Manager environment, you must configure a supported System Center 2012 Configuration Manager source hierarchy and specify one or more source sites that contain data that you want to migrate.
By default, the top-level site of the hierarchy becomes a source site of the source hierarchy. If you migrate from a Microsoft System Center Configuration Manager 2007 hierarchy, you can configure additional source sites for migration. If you migrate from a System Center 2012 Configuration Manager hierarchy, you do not need to configure additional source sites because the System Center 2012 Configuration Manager shared database at the top of the source hierarchy contains all of the information that you can migrate.
Parameters
-EnableDistributionPointSharing<Boolean>
Indicates whether Configuration Manager shares distribution points between source and destination hierarchies.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SmsProviderAccount<String>
Specifies the name of the account that the top-level site in the destination hierarchy uses to connect to the SMS Provider and the site database of the source site. The top-level site uses these connections to retrieve objects and distribution points.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SourceSiteServerName<String>
Specifies the name of a server that contains a source site.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-SqlServerAccount<String>
Specifies a SQL Server account that provides access to the top-level SQL Server database in the source hierarchy. The account must have read and run permissions for this database.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Confirm
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Specify a migration source
This command specifies the site server named cmdev-contoso01 as the source of migration data. It uses the user account for tsqa\pattifuller to provide access to the SQL Server database at the top of the source hierarchy and to connect to the SMS provider and source site database for the source site. The command also shares distribution points between the source and destination hierarchies.
PS C:\> Set-CMMigrationSource -SourceSiteServerName "cmdev-contoso01" -SmsProviderAccount "tsqa\pattifuller" -SqlServerAccount "tsqa\pattifuller" -EnableDistributionPointSharing $True