Add Parameter Validation

This commit is contained in:
Wes Carroll
2019-07-23 13:13:24 -04:00
parent 8b0def7c50
commit 5c2e16d5c6
@@ -22,6 +22,7 @@ function Get-ZertoPeerSite {
ParameterSetName = "filter",
HelpMessage = "The name of a peer site for which information is to be returned. The name is case-sensitive."
)]
[ValidateNotNullOrEmpty()]
[string]$peerName,
[Parameter (
ParameterSetName = "filter",