Updated for new Repositories endpoint

This commit is contained in:
Wes Carroll
2020-04-07 17:35:55 -04:00
parent 85e60adac1
commit 90434b56a2
2 changed files with 35 additions and 3 deletions
@@ -52,6 +52,11 @@ function Get-ZertoVirtualizationSite {
Mandatory = $true,
HelpMessage = "The identifier of the Zerto Virtual Manager site."
)]
[Parameter(
ParameterSetName = "repositories",
Mandatory = $true,
HelpMessage = "The identifier of the Zerto Virtual Manager site."
)]
[ValidateNotNullOrEmpty()]
[Alias("siteId")]
[string]$siteIdentifier,
@@ -121,7 +126,14 @@ function Get-ZertoVirtualizationSite {
Mandatory = $true,
HelpMessage = "Return all VMs at the selected site."
)]
[switch]$vms
[switch]$vms,
[Parameter(
ParameterSetName = "repositories",
Mandatory = $true,
HelpMessage = "The identifier of the Zerto Virtual Manager site."
)]
[switch]$repositories
)
begin {