From 0a84246d8ebf421e7e0287f0906e83f7697b321e Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Thu, 2 Apr 2020 17:44:16 -0400 Subject: [PATCH] Add parameter validation --- ZertoApiWrapper/Public/Get-ZAProtectedVmReport.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/ZertoApiWrapper/Public/Get-ZAProtectedVmReport.ps1 b/ZertoApiWrapper/Public/Get-ZAProtectedVmReport.ps1 index b79fa34..c02b0cd 100644 --- a/ZertoApiWrapper/Public/Get-ZAProtectedVmReport.ps1 +++ b/ZertoApiWrapper/Public/Get-ZAProtectedVmReport.ps1 @@ -7,6 +7,7 @@ function Get-ZAProtectedVmReport { Mandatory, HelpMessage = "A list of VM identifiers to include in the report." )] + [ValidateNotNullOrEmpty()] [string[]]$VMIdentifier )