Who’s Logged In?

Ever want a quick and easy way to check which user is currently logged into a computer on your network? Look no further! Simply input the IP address or hostname of the device on your network, and off you go!

LoggedInUserQuery.bat

cls
@echo off
ECHO ============================
ECHO WHO'S LOGGED IN?
ECHO ============================
ECHO ____________________________
color 0A
set /p "id=Enter IP or name of computer you want to check: "
query user /server:%id%
PAUSE
:: Love, CJ Pollock

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s