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.
Active DirectoryWindows NetworkingMicrosoft Server OS

Avatar of undefined
Last Comment
Pau Lo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mike Kline

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Pau Lo

That solution didnt seem to cover the exact fields I was after...
SOLUTION
Sarang Tinguria

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Pau Lo

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

are you still monitoring this question Mike?
ASKER
Pau Lo

does adinfo include an accurate last login date (as one of the last login fields is not replicated between DC's).
Your help has saved me hundreds of hours of internet surfing.
fblack61
Pankaj_401

AD Info will query each DC in the domain to get accurate values for any non-replicated attributes (Last Logon etc).
ASKER
Pau Lo

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

are you still monitoring this Mike?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.