Configure Param Set Validations

This commit is contained in:
Wes Carroll
2019-03-26 15:07:13 -04:00
parent 76b228589e
commit 5ce4bb056a
9 changed files with 33 additions and 17 deletions
@@ -38,8 +38,9 @@ function Get-ZertoProtectedVm {
[string]$organizationName,
[Parameter(
ParameterSetName = "filter",
HelpMessage = "The priority specified for the VPG. Possible values are: '0' or 'Low', '1' or 'Medium', '2' or 'High'"
HelpMessage = "The priority specified for the VPG. Possible values are: 'Low', 'Medium', or 'High'"
)]
[ValidateSet("Low", "Medium", "High")]
[string]$priority,
[Parameter(
ParameterSetName = "filter",