Link to home
Start Free TrialLog in
Avatar of MichaelK2
MichaelK2Flag for South Africa

asked on

How to use DSQUERY to get a list of the active users.

I am wanting to just get the active users in a domain i.e  the ones who have logged on in the last week.
I have run from the command: dsquery user - active 1 >>c:\active.txt but it does not seem to like the word active. Is DSQUERY only to find out inactive details
ASKER CERTIFIED SOLUTION
Avatar of Henrik Johansson
Henrik Johansson
Flag of Sweden image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Chris Dent
Chris Dent
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MichaelK2

ASKER

I feel it was only good and not excellent.