From d9eb68100784647c1784bd408952acd6ee0d4039 Mon Sep 17 00:00:00 2001 From: Karl-Wilfried Zimmer Date: Thu, 8 Feb 2024 23:23:36 +0100 Subject: [PATCH] suppressed print debugging --- Extractor.ps1 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Extractor.ps1 b/Extractor.ps1 index c2e4f0b..26cfc14 100644 --- a/Extractor.ps1 +++ b/Extractor.ps1 @@ -50,13 +50,13 @@ function ProduceHashMap { if($HashTable.ContainsKey($vmName)){ $array = $HashTable[$vmName] $lastState=($array[$array.Count-1]).state - Write-Host $lastState - Write-Host $backUpState + #Write-Host $lastState + #Write-Host $backUpState if (($lastState -eq 'Failed') -and ($backUpState -eq 'Failed')) { - Write-Host "skipping" + #Write-Host "skipping" continue } - Write-Host "continuing" + #Write-Host "continuing" try { $timeStamp = ConvertDate($date) $array += New-Object psobject -Property @{