NAME

Set-DcsReplicationTransferAddress

SYNOPSIS

Sets the IP address of the partner replication server used for data transfers.

SYNTAX

Set-DcsReplicationTransferAddress   -PartnerServer <Object>   -Address <String>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Sets the IP address of the partner replication server used for data transfers.

PARAMETERS

-PartnerServer<Object>
ServerHostData object, computer name or ID that identifies the partner replication server. The computer name must be unique or the name must be fully qualified.

Required: true
Position: 1
Default value:
Accept pipeline input: true (ByValue)
Accept wildcard characters: false

-Address<String>
The partner server IP address to use for data transfers. For instance, "172.99.999.99". To set the address to use the default IP address resolved by the DNS server, use "default".

Required: true
Position: 2
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-Connection<String>
Alias of the connection to the server group. If not specified, the default connection is used.

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

-PipelineVariable<String>

Required: false
Position: named
Default value:
Accept pipeline input: false
Accept wildcard characters: false

INPUTS

ServerHostData : Object that identifies the partner server.

OUTPUTS

string : The IP address that was set is returned. If the default was set, "default" is returned.

NOTES

Also see Get-DcsReplicationTransferAddress, Set-DcsReplicationPartnerGroup, Get-DcsReplicationPartnerGroup.

EXAMPLES


-------------- Example 1 Sets the IP address of the partner server by piping the object --------------
Get-DcsServer -ServerGroup Remote -Server SSV4 | Set-DcsReplicationTransferAddress 172.99.99.99
			

The cmdlet Get-DcsServer is invoked to get the ServerHostData object for the server named "SSV4" in the server group named "Remote". The object is piped to the cmdlet Set-DcsReplicationTransferAddress to identify the partner server and the IP address is set to 172.99.99.99.

172.99.99.99