suppressed print debugging

This commit is contained in:
Karl-Wilfried Zimmer 2024-02-08 23:23:36 +01:00
parent f09e904fe3
commit d9eb681007

View File

@ -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 @{