dump/Windows/logoffALLusers.ps1

2 lines
61 B
PowerShell

quser | ForEach {logoff ($_.tostring() -split ' +')[2]}
exit