Files
tacticalrmm/scripts_wip/Win_RDS_Logoff_Disconnected_Users.ps1
silversword411 4e5676e80f adding the wip
2021-04-29 11:45:32 -04:00

1 line
78 B
PowerShell

quser | Select-String "Disc" | ForEach {logoff ($_.tostring() -split ' +')[2]}