From 7bd8e5c7ee46985d932b23135cd7d4505c1f4a9e Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Mon, 1 Apr 2019 17:33:37 -0400 Subject: [PATCH] Validate NullorEmpty VpgName --- ZertoApiWrapper/Public/Export-ZertoVpg.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 b/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 index f44a48a..3f5efb8 100644 --- a/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 +++ b/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 @@ -14,6 +14,7 @@ function Export-ZertoVpg { ParameterSetName = "namedVpgs", Mandatory = $true )] + [ValidateNotNullOrEmpty()] [string[]]$vpgName, [parameter( HelpMessage = "Export all VPGs at this site",