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()]
[string]$targetHost,
[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)]
[int]$targetPort = 9081,
[int]$targetPort = 9071,
[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()]
[string]$token
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
#>
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Connect-ZertoAnalytics {
[cmdletbinding()]
param(
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
#>
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Connect-ZertoServer {
[cmdletbinding()]
[OutputType([hashtable])]
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
#>
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Disconnect-ZertoServer {
[cmdletbinding()]
param()
+1 -2
View File
@@ -1,5 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml
#>
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Get-ZertoVpg {
[cmdletbinding( DefaultParameterSetName = "main" )]
param(
@@ -1,3 +1,4 @@
<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>
function Invoke-ZertoRestRequest {
[cmdletbinding()]
param(