Link to home
Start Free TrialLog in
Avatar of MilesLogan
MilesLoganFlag for United States of America

asked on

Get information on when the password was last set on multiple accounts

Hi EE

I want to add a list of samAccountNames to a text file , and I want the PS script to then output the list
with the SamAccountName,PasswordLastSet field but also in another column , how many days old the password is .

I can pull the PasswordLastSet data no problem , but i would like to see in a different column
in days how old the password is .

Example
SamAccountName,PasswordLastSet,PasswordAge( or whatever it is)
Account1,5/3/2015,30
ASKER CERTIFIED SOLUTION
Avatar of Raheman M. Abdul
Raheman M. Abdul
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
Avatar of MilesLogan

ASKER

Thank you Rahaman ..