Created
May 25, 2020 06:40
-
-
Save kbbgl/9a08be40a65d67917a142330610c2e88 to your computer and use it in GitHub Desktop.
[logout all users in Windows] #windows #powershell #admininistration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quser | |
# Response | |
USERNAME SESSIONNAME ID STATE IDLE TIME LOGON TIME | |
>administrator console 2 Active none 9/22/2020 11:04 AM | |
# logs out user session | |
logout 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment