From 4fba918ae53b302d0f3b18391b844a50db4dbdbb Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Fri, 29 Mar 2019 21:55:01 -0400 Subject: [PATCH] Add checkpointName validation --- ZertoApiWrapper/Public/Checkpoint-ZertoVpg.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/ZertoApiWrapper/Public/Checkpoint-ZertoVpg.ps1 b/ZertoApiWrapper/Public/Checkpoint-ZertoVpg.ps1 index 83515b9..2b1a371 100644 --- a/ZertoApiWrapper/Public/Checkpoint-ZertoVpg.ps1 +++ b/ZertoApiWrapper/Public/Checkpoint-ZertoVpg.ps1 @@ -11,6 +11,7 @@ function Checkpoint-ZertoVpg { Mandatory = $true, HelpMessage = "Text to tag the checkpoint with." )] + [ValidateNotNullOrEmpty()] [string]$checkpointName )