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