Add checkpointName validation

This commit is contained in:
Wes Carroll
2019-03-29 21:55:01 -04:00
parent a8a0b5a6e8
commit 4fba918ae5
@@ -11,6 +11,7 @@ function Checkpoint-ZertoVpg {
Mandatory = $true, Mandatory = $true,
HelpMessage = "Text to tag the checkpoint with." HelpMessage = "Text to tag the checkpoint with."
)] )]
[ValidateNotNullOrEmpty()]
[string]$checkpointName [string]$checkpointName
) )