Wednesday 21 August 2013

How to show last password reset date of users in an OU in active directory 2008 R2


How to show last password reset date of users in an OU in active directory 2008 R2.

get-aduser -searchbase "OU=ouname,OU=ouname,DC=domainnaem,DC=domainname" -Filter * -Properties passwordlastset | FT passwordlastset,UserPrincipalName >C:\store\MT.csv

No comments:

Post a Comment