updated comment lines and port for pairing

Updated pairing port to default for zvma, and fixed external docs line for pester testing
This commit is contained in:
2025-02-17 16:20:07 -05:00
parent 31638c5f48
commit 5b9c692f5b
6 changed files with 8 additions and 11 deletions
+3 -3
View File
@@ -9,12 +9,12 @@ function Add-ZertoPeerSite {
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]
[string]$targetHost, [string]$targetHost,
[Parameter( [Parameter(
HelpMessage = "Target communication port. Default is 9081" HelpMessage = "Target communication port. Default is 9071 for Zerto 10.0 and Later. For ZVR 9.7 and earlier, use port 9081."
)] )]
[ValidateRange(1024, 65535)] [ValidateRange(1024, 65535)]
[int]$targetPort = 9081, [int]$targetPort = 9071,
[Parameter( [Parameter(
HelpMessage = "The generated token from the destination site. Note: This is only supported when both sites support pairing authentication. This was implemented to support ZVR 7.5 and later." HelpMessage = "The generated token from the destination site. Note: This is only supported when both sites support pairing authentication. This was implemented to support ZVR 10.0 and later."
)] )]
[ValidateNotNullOrEmpty()] [ValidateNotNullOrEmpty()]
[string]$token [string]$token
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml <# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
#>
function Connect-ZertoAnalytics { function Connect-ZertoAnalytics {
[cmdletbinding()] [cmdletbinding()]
param( param(
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml <# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
#>
function Connect-ZertoServer { function Connect-ZertoServer {
[cmdletbinding()] [cmdletbinding()]
[OutputType([hashtable])] [OutputType([hashtable])]
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml <# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
#>
function Disconnect-ZertoServer { function Disconnect-ZertoServer {
[cmdletbinding()] [cmdletbinding()]
param() param()
+1 -2
View File
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml <# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
#>
function Get-ZertoVpg { function Get-ZertoVpg {
[cmdletbinding( DefaultParameterSetName = "main" )] [cmdletbinding( DefaultParameterSetName = "main" )]
param( param(
@@ -1,3 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Invoke-ZertoRestRequest { function Invoke-ZertoRestRequest {
[cmdletbinding()] [cmdletbinding()]
param( param(