Click or drag to resize
Set-DtPathBlocking

This cmdlet blocks writing to the replica source data located on the target, keeping the data from being changed outside of Double-Take processing. For this cmdlet, the -ServiceHost should be your target server.

Syntax

Set-DtPathBlocking [-SourceAddress] <String> [-Mode] <PathBlockingMode> [-ServiceHost] <Server> [<CommonParameters>]

Parameters
-SourceAddress<String>

Specify the IP address of the source, including the port, for example, 123.123.123.123:6320.

Required?

true

Position?

2

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Mode<PathBlockingMode>

Specify Blocked or Unblocked.

Required?

false

Position?

3

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-ServiceHost<Server>

Specify the server object returned from the New-DtServer cmdlet.

Required?

true

Position?

1

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Examples

------------------EXAMPLE------------------

A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. Then it sets the target paths associated with the replica data from the specified source IP address to blocked. The connections for the server object are then closed.

$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password

Set-DtPathBlocking -ServiceHost $DtServerObjectAlpha -SourceAddress "112.42.74.29:6320" -Mode Blocked

Disconnect-DtServer -ServiceHost $DtServerObjectAlpha