Files
ZertoApiWrapper/docs/Add-ZertoPeerSite.md
T
2019-05-31 10:32:12 -04:00

2.5 KiB

external help file, Module Name, online version, schema
external help file Module Name online version schema
ZertoApiWrapper-help.xml ZertoApiWrapper https://github.com/ZertoPublic/ZertoApiWrapper/blob/master/docs/Add-ZertoPeerSite.md 2.0.0

Add-ZertoPeerSite

SYNOPSIS

Pairs the current Zerto Virtual Manager to the target Zerto Virtual Manager

SYNTAX

Add-ZertoPeerSite [-targetHost] <String> [[-targetPort] <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Pairs the current Zerto Virtual Manager to the target Zerto Virtual Manager by leveraging the Zerto Peer Sites API end point.

EXAMPLES

Example 1

PS C:\> Add-ZertoPeerSite -targetHost "192.168.2.100" -targetPort "9081"

Pairs the current Zerto Virtual Manager to the Zerto Virtual Manager at IP address 192.168.2.100.

PARAMETERS

-targetHost

Target Hostname or IP address to pair the localsite to.

Type: String
Parameter Sets: (All)
Aliases:

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

-targetPort

Target communication port. Default is 9081

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: "9081"
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

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

Required: False
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: None
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.

INPUTS

None

OUTPUTS

System.Object

NOTES

Zerto REST API Peer Site End Point Documentation