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.
LVL 3
pma111Asked:
Who is Participating?
 
Mike KlineConnect With a Mentor Commented:
See this question I helped with


http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_27172202.html

I am leaving for work but I'll be back on in about 90 minutes for followups.

You can also use powershell if you want help with that method.

Thanks

Mike
0
 
pma111Author Commented:
That solution didnt seem to cover the exact fields I was after...
0
 
Sarang TinguriaConnect With a Mentor Sr EngineerCommented:
Chris has a great GUI tool for all theese stuffs why not try it..??

Cjwdev | AD Info - Active Directory Reporting www.cjwdev.co.uk/Software/ADReportingTool/Info.html
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Pankaj_401Connect With a Mentor Commented:
Hi Pma,
To know about account status(open/disabled), last logon status and password expires status, you can try this software which seems fit exactly in your environment.
0
 
pma111Author Commented:
adfind is free though, not interested in a commcercial product when there are free alternatives.

are you still monitoring this question Mike?
0
 
pma111Author Commented:
does adinfo include an accurate last login date (as one of the last login fields is not replicated between DC's).
0
 
Pankaj_401Commented:
AD Info will query each DC in the domain to get accurate values for any non-replicated attributes (Last Logon etc).
0
 
pma111Author Commented:
aninfo (the version where you can run queries isnt free), hence I was ideally after some assistance on adfind syntax...
0
 
pma111Author Commented:
are you still monitoring this Mike?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.