=Bug fix in SessionData for Windows

This commit is contained in:
Gal Szkolnik 2021-06-29 10:45:29 -04:00
parent 55f5acc0f2
commit 6fb86bf855
1 changed files with 1 additions and 2 deletions

View File

@ -61,8 +61,7 @@ class SessionData {
$_ -split '_' | Select-Object -Last 1 $_ -split '_' | Select-Object -Last 1
} | } |
Where-Object { $_ -notin ('agent') } | Where-Object { $_ -notin ('agent') } |
Select-Object -First 1 | Select-Object -First 1
Out-String
} else { } else {
$local:p = Get-Process -PID $global:PID $local:p = Get-Process -PID $global:PID
$local:t_p = $null $local:t_p = $null