adfind syntax non expiring last login

pma111
pma111 used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2013
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

Author

Commented:
That solution didnt seem to cover the exact fields I was after...
Top Expert 2012
Commented:
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
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

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.

Author

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

are you still monitoring this question Mike?

Author

Commented:
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).

Author

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

Author

Commented:
are you still monitoring this Mike?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial