suppressed print debugging
This commit is contained in:
parent
f09e904fe3
commit
d9eb681007
@ -50,13 +50,13 @@ function ProduceHashMap {
|
|||||||
if($HashTable.ContainsKey($vmName)){
|
if($HashTable.ContainsKey($vmName)){
|
||||||
$array = $HashTable[$vmName]
|
$array = $HashTable[$vmName]
|
||||||
$lastState=($array[$array.Count-1]).state
|
$lastState=($array[$array.Count-1]).state
|
||||||
Write-Host $lastState
|
#Write-Host $lastState
|
||||||
Write-Host $backUpState
|
#Write-Host $backUpState
|
||||||
if (($lastState -eq 'Failed') -and ($backUpState -eq 'Failed')) {
|
if (($lastState -eq 'Failed') -and ($backUpState -eq 'Failed')) {
|
||||||
Write-Host "skipping"
|
#Write-Host "skipping"
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
Write-Host "continuing"
|
#Write-Host "continuing"
|
||||||
try {
|
try {
|
||||||
$timeStamp = ConvertDate($date)
|
$timeStamp = ConvertDate($date)
|
||||||
$array += New-Object psobject -Property @{
|
$array += New-Object psobject -Property @{
|
||||||
|
Loading…
Reference in New Issue
Block a user