Update Parameter Name to work with filter

This commit is contained in:
Wes Carroll
2020-05-05 13:47:19 -04:00
parent e47458b2df
commit 6c2b029014
3 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -19,8 +19,8 @@ function Get-ZertoEvent {
HelpMessage = "The name of the VPG for which you want to return events."
)]
[ValidateNotNullOrEmpty()]
[Alias("vpgName")]
[string]$vpg,
[Alias("vpg")]
[string]$vpgName,
[Parameter(
ParameterSetName = "filter",
HelpMessage = "The identifier of the VPG for which you want to return events."
@@ -69,7 +69,7 @@ function Get-ZertoEvent {
ParameterSetName = "filter",
HelpMessage = "The type of event to return. This filter behaves in the same way as the eventCategory filter. Possible Values are: Possible Values are: 'All', 'Events', 'Alerts'"
)]
[ValidateSet('All','Events','Alerts')]
[ValidateSet('All', 'Events', 'Alerts')]
[string]$category,
[Parameter(
ParameterSetName = "filter",