NAME

Get-DcsReplicationTransferAddress

SYNOPSIS

Returns the IP address of the partner replication server used for data transfers. If the IP address is not specified, "default" is returned.

SYNTAX

Get-DcsReplicationTransferAddress   -PartnerServer <Object>   [ -Connection <String> ]   [ -PipelineVariable <String> ]

DESCRIPTION

Returns the IP address of the partner replication server used for data transfers. If the IP address is not specified, "default" is returned.

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

-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 and describes the replication partner group.

OUTPUTS

string : The IP address used for data transfers is returned. If the IP address is not specified, "default" is returned.

NOTES

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

EXAMPLES


-------------- Example 1 Returns the IP address of the partner replication server specified by name --------------
Get-DcsReplicationTransferAddress -PartnerServer SSV4
			

The cmdlet is invoked with the name of the replication partner server and the IP address used for data transfers is returned. If the IP address is not specified, "default" is returned.

172.99.99.99
		

-------------- Example 2 Returns IP address for the partner server specified by piping the object --------------
Get-DcsServer -ServerGroup Remote -Server SSV4 | Get-DcsReplicationTransferAddress
			

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 Get-DcsReplicationTransferAddress and the IP address is returned.

172.99.99.99