Created
January 14, 2020 21:21
-
-
Save bradobro/8c59ffd59d6b01525bd7614af668707c to your computer and use it in GitHub Desktop.
Log someone else out of Windows 10
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
PS C:\as_admin> query session | |
SESSIONNAME USERNAME ID STATE TYPE DEVICE | |
services 0 Disc | |
betty 1 Disc | |
>console bobby 2 Active | |
PS C:\as_admin> logoff 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment