Add parameter validation
This commit is contained in:
1 parent
646476e74e
commit
f299aecb9b
1 file changed
+1
@@ -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