Add checkpointName validation
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user