Add Param Aliases

This commit is contained in:
Wes Carroll
2019-03-26 14:28:00 -04:00
parent 1e82c04687
commit 76b228589e
23 changed files with 42 additions and 2 deletions
@@ -9,6 +9,7 @@ function Get-ZertoProtectedVm {
ValueFromPipelineByPropertyName = $true,
HelpMessage = "vmIdentifier(s) for which to return information"
)]
[Alias("vmId")]
[string[]]$vmIdentifier,
[Parameter(
ParameterSetName = "filter",
@@ -54,11 +55,13 @@ function Get-ZertoProtectedVm {
ParameterSetName = "filter",
HelpMessage = "The identifier of the protected site where the VPG virtual machines are protected."
)]
[Alias("protectedSiteId")]
[string]$protectedSiteIdentifier,
[Parameter(
ParameterSetName = "filter",
HelpMessage = "The identifier of the recovery site where the VPG virtual machines are recovered."
)]
[Alias("recoverySiteId")]
[string]$recoverySiteIdentifier
)