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