Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
199 lines (152 sloc) 5.17 KB

<<<<<<< HEAD

title: New-CMFileReplicationRoute titleSuffix: Configuration Manager description: Creates a file replication route for Configuration Manager. ms.date: 05/07/2019 ms.prod: configuration-manager ms.technology: configmgr-other ms.topic: conceptual author: aczechowski ms.author: aaroncz manager: dougeby

--- external help file: AdminUI.PS.HS.dll-Help.xml ms.assetid: 70F90D3C-9019-4AE8-9CFC-693D9D3AC351 online version: https://go.microsoft.com/fwlink/?linkid=833683 schema: 2.0.0

master


New-CMFileReplicationRoute

SYNOPSIS

Creates a file replication route for Configuration Manager.

SYNTAX

New-CMFileReplicationRoute -SourceSiteCode <String> -DestinationSiteCode <String>
 [-DestinationSiteServerName <String>] [-FileReplicationAccountName <String>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The New-CMFileReplicationRoute cmdlet creates a file replication route for Microsoft System Center Configuration Manager. System Center 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 routes 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

[!NOTE] Configuration Manager CmdLets must be run from the Configuration Manager site drive. For more information, see the getting started documentation.

Example 1: Create a file replication route

PS XYZ:\> New-CMFileReplicationRoute -DestinationSiteCode "IM5" -SourceSiteCode "IM1" -DestinationSiteServerName "ImgDataServer01" -FileReplicationAccountName "AdminRepl01"

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 on the server named ImgDataServer01. System Center Configuration Manager uses the account named AdminRepl01 to manage data transfer over this route.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-DestinationSiteCode

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

Type: String
Parameter Sets: (All)
Aliases: 

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

-DestinationSiteServerName

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

Type: String
Parameter Sets: (All)
Aliases: 

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

-FileReplicationAccountName

Specifies the account that Configuration Manager uses to install a site on the specified server and maintain communications between the site and other sites. This account must have local administrative credentials.

Type: String
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: (All)
Aliases: 

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
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

RELATED LINKS

Get-CMFileReplicationRoute

Remove-CMFileReplicationRoute

Set-CMFileReplicationRoute

You can’t perform that action at this time.