cmatchett
asked on
powershell | Active directory | password expiry
Get-ADUser -filter * -properties passwordlastset | sort-object name | select-object Name, passwordlastset | Export-csv -path c:\scripts\user-password-i nfo.csv
I would like to add 300 days to passwordlastset in-order to get the password expiry date. I would like the password expiry date to be in the csv.
I would like to add 300 days to passwordlastset in-order to get the password expiry date. I would like the password expiry date to be in the csv.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
excellent !
ASKER