From 2516302424f19107a1fa79c7da115be1ed27fcbf Mon Sep 17 00:00:00 2001 From: Upgrayedd Date: Tue, 30 Jul 2024 23:49:28 -0500 Subject: [PATCH] Upload files to "Windows" --- Windows/logoffALLusers.ps1 | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 Windows/logoffALLusers.ps1 diff --git a/Windows/logoffALLusers.ps1 b/Windows/logoffALLusers.ps1 new file mode 100644 index 0000000..a981211 --- /dev/null +++ b/Windows/logoffALLusers.ps1 @@ -0,0 +1,2 @@ +quser | ForEach {logoff ($_.tostring() -split ' +')[2]} +exit \ No newline at end of file