Show logged users with external tools, PsLoggedon.exe

Show the count of users:
PsLoggedon.exe /eulaaccept | find /c "%computername%"
Show the usernames:
PsLoggedon.exe /eulaaccept | find "%computername%"
Another approach:
PsLoggedon.exe /eulaaccept | find "\"

No comments: