Transfer Site Settings Command-Line Parameters

Aplica-se a: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

This utility is used to replicate package and collection properties or site configuration settings from an .xml file created in the Transfer Site Settings Wizard. You can use this tool as the command line in a program if you want to use Microsoft System Center Configuration Manager 2007 software distribution to push the settings to other sites.

noteNota
If you need to transfer settings to a site in an untrusted forest, you must either log on with an account that exists in both forests with the same user name and password, or you must export the settings from the first site and then import, but not transfer, the settings on the destination site.

Syntax

Use the following syntax and parameters to replicate the package and collection settings or the site configuration settings that are saved to the XML file from the Transfer Site Settings Wizard.

REPLSTCFG /DST <servername> /FILE filename
          [/DSTSITE <destinationSiteCode>]
          [/SRC <servername> /SRCSITE <sourceSiteCode>]
          [/V] [/T] [/POLLING] 

Command-line Parameters for the Transfer Site Settings Wizard

 

Command-line Option Description

/DST <servername>

Specifies the name of the site server computer where you want the settings to be received. This parameter is required.

noteNota
If the site is a secondary site, specify the parent site server.

/DSTSITE <destinationSiteCode>

Specifies the site code where you want the settings to be received. If no destination site codes are specified in the .xml file, you must specify the /DSTSITE parameter.

noteNota
If SQL Server was installed as case-sensitive, then the site code is case sensitive.

/SRC <servername>

Specifies that the tool will transfer settings in real-time from this site server instead of importing the values in the .xml file. If values exist in the .xml file, they will be ignored. If values were not exported to the .xml file, you must specify the /SRC. The two sites must have a network connection to use this parameter.

noteNota
If the site is a secondary site, specify the parent site server.

/SRCSITE <sourceSiteCode>

Specifies that the tool will transfer settings in real-time from this source site code instead of importing the values in the .xml file. The two sites must have a network connection to use this parameter.

noteNota
If SQL Server was installed as case-sensitive, then the site code is case sensitive.

/V

Enables verbose mode for diagnostics.

/T

Simulates the command for testing purposes. No actual settings will be transferred but you will see potential errors.

/POLLING

Verifies that the sites are active before performing the transfer. If there are any sites that are not active, the user will be prompted to retry or discard.

/FILE filename

Specifies the .xml file created in the Transfer Site Settings Wizard containing the settings you wanted to import. If /SRC is specified, it will override values stored in this file.

noteNota
If the file name contains spaces, you must delimit the file name with quotation marks.

Example: /file "C:\tss pkgs\tss pkg.xml"

/?

Displays the command-line help.

Examples

  • To transfer the settings in the .xml file MySite.xml to site server ServerX, enter the following command-line parameters:

REPLSTCFG /DST ServerX /FILE MySite.xml

  • To transfer the settings but not the values in the .xml file MySite.xml to site server ServerX in site XYZ, while retrieving the values in real-time directly from site server ServerA in site ABC, with verbose mode on, enter the following command-line parameters:

REPLSTCFG /SRC ServerA /SRCSITE ABC /DST ServerX /DSTSITE XYZ /FILE MySite.xml /V

  • To transfer the settings in the .xml file MySite.xml to site server ServerX in site XYZ, while polling to verify that the site is active, enter the following command-line parameters:

REPLSTCFG /DST ServerX /DSTSITE XYZ /POLLING /FILE MySite.xml

  • If you want the tool to display command-line Help, enter the following command-line parameter:

REPLSTCFG /?

Consulte Também

For additional information, see Configuration Manager 2007 Information and Support.
To contact the documentation team, email SMSdocs@microsoft.com.

Conteúdo da Comunidade

Mostrar: