From b903c6131cf2a93725ffec8cd98cb8ec26078c81 Mon Sep 17 00:00:00 2001 From: Wes Carroll Date: Fri, 1 Mar 2019 21:57:41 -0500 Subject: [PATCH] Remove leftover artifact from arraylist approach --- ZertoApiWrapper/Public/Get-ZertoProtectedVm.ps1 | 1 - 1 file changed, 1 deletion(-) diff --git a/ZertoApiWrapper/Public/Get-ZertoProtectedVm.ps1 b/ZertoApiWrapper/Public/Get-ZertoProtectedVm.ps1 index 62d3fcf..59a08f4 100644 --- a/ZertoApiWrapper/Public/Get-ZertoProtectedVm.ps1 +++ b/ZertoApiWrapper/Public/Get-ZertoProtectedVm.ps1 @@ -72,7 +72,6 @@ function Get-ZertoProtectedVm { # Return all protected VMs if no parameters are requested "main" { $returnObject = Invoke-ZertoRestRequest -uri $baseUri - $returnObject.Add($results) | Out-Null } # Return information based on the vmIdentifer(s) provided.