-
-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Labels
Description
Hi Warren
First, many thanks for the script, it is very helpful.
From time to time the Idle Time appears as "24692+13:29". Then errors appear in the script. I have changed the following lines:
Line 138:
From: if($array.count -lt 9){
To: if(($array.count -lt 9) -and ($sessions[$_] -notlike '24692+13:29')){
Line 149:
From: $temp.IdleTime = $array[5]
To:
if ($array[5] -eq '24692+13:29'){
$temp.IdleTime = "0"
} Else {
$temp.IdleTime = $array[5]
}
So, hope it helps others.
Stefan