POWERSHELL

User password changed time using PowerShell

Get-QADUser pugazh| select PasswordLastSet

To know no. of days since the user changed his password,

((get-date) – (Get-QADUser pamarths).PasswordLastSet).days

Leave a Reply

Your email address will not be published. Required fields are marked *