diff --git a/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 b/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 index df3035e..f44a48a 100644 --- a/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 +++ b/ZertoApiWrapper/Public/Export-ZertoVpg.ps1 @@ -11,14 +11,16 @@ function Export-ZertoVpg { [string]$outputPath, [parameter( HelpMessage = "Name(s) of the VPG(s) to be exported", - ParameterSetName = "namedVpgs" + ParameterSetName = "namedVpgs", + Mandatory = $true )] [string[]]$vpgName, [parameter( HelpMessage = "Export all VPGs at this site", ParameterSetName = "allVpgs", valuefrompipeline = $true, - ValueFromPipelineByPropertyName = $true + ValueFromPipelineByPropertyName = $true, + Mandatory = $true )] [switch]$allVpgs )