Get-CMFileReplicationRoute

SYNOPSIS

Gets a file replication route from Configuration Manager.

SYNTAX

SearchBySiteCode (Default)

Get-CMFileReplicationRoute [-SourceSiteCode <String>] [-DestinationSiteCode <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

SearchBySiteName

Get-CMFileReplicationRoute [-SourceSiteName <String>] [-DestinationSiteName <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

The Get-CMFileReplicationRoute cmdlet gets a file replication route from Microsoft System Center 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 Configuration Manager. The functionality of file replication routes is the same as that of addresses in earlier versions.

EXAMPLES

Example 1: Get a file replication route by using site codes

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

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.

PARAMETERS

-DestinationSiteCode

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

Type: String
Parameter Sets: SearchBySiteCode
Aliases: DesSiteCode

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DestinationSiteName

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

Type: String
Parameter Sets: SearchBySiteName
Aliases: DesSiteName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SourceSiteCode

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

Type: String
Parameter Sets: SearchBySiteCode
Aliases: SiteCode

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-SourceSiteName

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

Type: String
Parameter Sets: SearchBySiteName
Aliases: SiteName

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

New-CMFileReplicationRoute

Remove-CMFileReplicationRoute

Set-CMFileReplicationRoute