Add parameter validation
This commit is contained in:
@@ -12,6 +12,7 @@ function Get-ZAProtectedVm {
|
||||
Mandatory,
|
||||
HelpMessage = "A list of VM identifiers to query"
|
||||
)]
|
||||
[ValidateNotNullOrEmpty()]
|
||||
[string[]]$VMIdentifier,
|
||||
[Parameter(
|
||||
ParameterSetName = "IndividualVMs",
|
||||
|
||||
Reference in New Issue
Block a user