Link to home
Avatar of SquigglyMonkey
SquigglyMonkey

asked on

Script to list logons on a specific domain controller

Script to list logons on a specific domain controller, which the user actually logged onto that domain controller. Trying to look up examples and I just keep finding ways to find a specific user, I want all of the logons for the past X hours, of any user.
Avatar of serialband
serialband
Flag of Ukraine image

query user /server:SERVER_NAME
ASKER CERTIFIED SOLUTION
Avatar of Adam the 32-bit Aardvark
Adam the 32-bit Aardvark
Flag of Poland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of SquigglyMonkey
SquigglyMonkey

ASKER

Thanks Adam, that link had what exactly what I needed.