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.