Add parameter validation
This commit is contained in:
@@ -7,6 +7,7 @@ function Get-ZAProtectedVmReport {
|
|||||||
Mandatory,
|
Mandatory,
|
||||||
HelpMessage = "A list of VM identifiers to include in the report."
|
HelpMessage = "A list of VM identifiers to include in the report."
|
||||||
)]
|
)]
|
||||||
|
[ValidateNotNullOrEmpty()]
|
||||||
[string[]]$VMIdentifier
|
[string[]]$VMIdentifier
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user