Update Function to set variable to mandatory

This commit is contained in:
Wes Carroll
2019-06-06 11:48:49 -04:00
parent a3fd87f933
commit ebc86c5e71
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ function Get-ZAAlert {
[int]$limitTo,
[Parameter(
HelpMessage = "The VPG Idnetifier",
ParameterSetName = "alertId"
ParameterSetName = "alertId",
Mandatory = $true
)]
[ValidateNotNullOrEmpty()]
[string]$alertIdentifier