Link to home
Start Free TrialLog in
Avatar of omnipower321
omnipower321Flag for United States of America

asked on

AD / Password Age / Password Last Set

Hello,

I am trying to get a report of what date / time users last changed their passwords.  When I attempt to do this via VBScript using the PasswordLastChanged attribute in an LDAP object I get a response for every user object.  When I attempt to do this is PowerShell using the Quest cmdlet "get-qaduser -sizelimit 0 | select ntaccountname,passwordlastset" I get results for the majority of systems, but a few hundred do not have anything is the passwordlastset attribute.

Can anyone fill me in on why?  I would love to gather this info with the quest tool, so that I can include it in larger PowerShell scripts, but need complete information.

thank you.
Avatar of omnipower321
omnipower321
Flag of United States of America image

ASKER

replace "systems" with "users" in the question.
ASKER CERTIFIED 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
Awesome, thank you!