Remove-CMFileReplicationRoute

Remove-CMFileReplicationRoute

Removes a file replication route from Configuration Manager.

構文

Parameter Set: SearchBySiteCodeMandatory
Remove-CMFileReplicationRoute -DestinationSiteCode <String> -SourceSiteCode <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

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

パラメーター

-DestinationSiteCode<String>

Specifies the destination site code for the file replication route that you remove.

エイリアス

DesSiteCode

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

Performs the action without a confirmation message.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SourceSiteCode<String>

Specifies the source site code for the file replication route that you remove.

エイリアス

SiteCode

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Remove a file replication route

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

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

関連トピック

Get-CMFileReplicationRoute

New-CMFileReplicationRoute

Set-CMFileReplicationRoute