Skip to content

24692+13:29 #10

@alphasteff

Description

@alphasteff

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions