Get-CMFileReplicationRoute

Get-CMFileReplicationRoute

Gets a file replication route from Configuration Manager.

Syntax

Parameter Set: SearchBySiteCode
Get-CMFileReplicationRoute [-DestinationSiteCode <String> ] [-SourceSiteCode <String> ] [ <CommonParameters>]

Parameter Set: SearchBySiteName
Get-CMFileReplicationRoute [-DestinationSiteName <String> ] [-SourceSiteName <String> ] [ <CommonParameters>]

Detailed Description

The Get-CMFileReplicationRoute cmdlet gets a file replication route from Microsoft System Center 2012 SP1 Configuration Manager. Configuration Manager uses file replication routes to transfer file-based data between sites in a hierarchy. Each file replication route identifies a destination site to which file-based data can transfer.

File replication were known as addresses in versions of Configuration Manager before System Center 2012 Configuration Manager. The functionality of file replication routes is the same as that of addresses in earlier versions.

Parameters

-DestinationSiteCode<String>

Specifies a destination site for data transfers by using a site code.

Aliases

DesSiteCode

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DestinationSiteName<String>

Specifies a destination site for data transfers by using a site name.

Aliases

DesSiteName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SourceSiteCode<String>

Specifies a source site for data transfers by using a site code.

Aliases

SiteCode

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SourceSiteName<String>

Specifies a destination site for data transfers by using a site name.

Aliases

SiteName

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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: Get a file replication route by using site codes

This command creates a file replication route from the site that has the site code IM1 to the site that has the site code IM5.

PS C:\> Get-CMFileReplicationRoute -DestinationSiteCode "IM5" -SourceSiteCode "IM1" 

New-CMFileReplicationRoute

Remove-CMFileReplicationRoute

Set-CMFileReplicationRoute