omnipower321
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,passwordlast set" 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.
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,passwordlast
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Awesome, thank you!
ASKER