Overview
command to use in powershell
query user /server:$localhost 2>&1 | select -skip 1 | ? {($_ -split "\s+")[-5] -eq 'Disc'} | % {logoff ($_ -split "\s+")[-6] /server:$localhost /V}
Solution Steps
command to use in powershell
query user /server:$localhost 2>&1 | select -skip 1 | ? {($_ -split "\s+")[-5] -eq 'Disc'} | % {logoff ($_ -split "\s+")[-6] /server:$localhost /V}
Additional Info
Photo Details
- File size
- 113.2 KB
- Photo size
- 805x309