Link to home
Start Free TrialLog in
Avatar of Pau Lo
Pau Lo

asked on

adfind syntax non expiring last login

Is there anyway using the adfind utility to query all users in a domain, to return, domain name, account status (i.e. open/disabled), lastlogon stamp, lastlogontimestamp (the replicated field), password expires (yes/no).
Please provide syntax if you are familiar with the tool.
ASKER CERTIFIED SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America 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 Pau Lo
Pau Lo

ASKER

That solution didnt seem to cover the exact fields I was after...
SOLUTION
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
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 Pau Lo

ASKER

adfind is free though, not interested in a commcercial product when there are free alternatives.

are you still monitoring this question Mike?
Avatar of Pau Lo

ASKER

does adinfo include an accurate last login date (as one of the last login fields is not replicated between DC's).
AD Info will query each DC in the domain to get accurate values for any non-replicated attributes (Last Logon etc).
Avatar of Pau Lo

ASKER

aninfo (the version where you can run queries isnt free), hence I was ideally after some assistance on adfind syntax...
Avatar of Pau Lo

ASKER

are you still monitoring this Mike?