Skip to main content

Command line version

The execution of the SCCM Teleporter command line version and the execution of the GUI application are done via the file SCCMTeleporter.exe. This is located in the installation root directory.

To start as command line version the file SCCMTeleporter.exe must be executed with specification of a command line parameter, if this specification is missing the GUI application is executed.

The control is done via an XML file that contains the actions to be executed. The instruction file can be generated dynamically as required, the file path of the XML instruction file must be specified as a command line parameter.

The following command line parameter specifications are valid:

  • SCCMTeleporter.exe \\myShare\action.xml (UNC Path)
  • SCCMTeleporter.exe Instructions\import.xml (relative Path)
  • SCCMTeleporter.exe e:\Instructions\export.xml (absolute Path)
Functions

Import and/or export statements can be defined, the transfer of SCCM objects consists of an export statement (specifying the source SCCM site) and an import statement (specifying the target SCCM site).

Required import or export settings, as well as SCCM teleporter filters for object selection, can be generated dynamically as well as created and reused via the graphical user interface.

Construction of the XML statement file
<?xml version="1.0" encoding="utf-8" ?>
<Teleporter>
	<Action Value="Export"> <!-- An action to be performed. Export corresponds to all actions that can be performed in SCCM Teleporter on the left side, import on the right side. -->
		<Name>Export Action</Name><!-- Freely definable name to track actions performed in the log file. -->
		<SiteServer>site01.lab</SiteServer><!-- Source MECM server, authentication via Windows Authentication. -->
		<FilterFile>\\share\filter.tpf</FilterFile><!--  This is used to select MECM objects. Filter files can also be created via the GUI in the Load SCCM Objects dialog. -->
		<DataFile>e:\temp\transfer.tp1</DataFile><!-- tp1 file, contains the exported MECM objects and corresponds to the save function in the file system. -->
		<SettingsFile>\\share\settings.tpes</SettingsFile>
	</Action> 
	
	<Action Value="Import">
		<Name>Import Action</Name>
		<SiteServer>site02.lab</SiteServer>
		<DataFile>e:\temp\transfer.tp1</DataFile>
		<SettingsFile>\\share\settings.tpis</SettingsFile>
	</Action>
</Teleporter>
Exit Codes

The following table describes the possible exit codes and their meaning:

Exit Code     Description

Instructions successfully processed
0 All <Action></Action> instructions were processed successfully
2

Not all <Action></Action> instructions were processed successfully

Requirement:

Error Behavior setting is set to the value Continue.


instructions were not processed successfully
1 Error, detailed information is available in the log file.
3 No language pack available