diff --git a/Extractor.ps1 b/Extractor.ps1 index a1307ee..1650a4c 100644 --- a/Extractor.ps1 +++ b/Extractor.ps1 @@ -110,13 +110,13 @@ function buildIntervals { ) $array = @() foreach ($key in $hash.Keys){ - Write-Host $key + #Write-Host $key $list = $hash.$key - Write-Host $list + #Write-Host $list $lastState = $null $lastTS = $null foreach ($elem in $list){ - Write-Host $elem + #Write-Host $elem if (($elem.state -eq 'Started') -and ($null -eq $lastState)) { $lastState=$elem.state $lastTS=$elem.ts @@ -131,7 +131,7 @@ function buildIntervals { $lastState=$null $lastTS=$null } - Write-Host "$array" + #Write-Host "$array" } } return $array