Author Posts

March 29, 2018 at 9:51 pm

Can someone tell me the command to list all users who reset their own password through ARS (QADUser) in last 1 year?

March 29, 2018 at 10:29 pm

Haven't used the products so I'm not sure about the integration.
But if it's based on AD attributes you could use "pwdLastSet" or "PasswordLastSet" to give you that information.

Using the built-in AD cmdlets in my example.

E.g.

$compareDate = (Get-Date).AddYears(-1)
Get-ADUser -filter * -Properties PasswordLastSet | Where {$_.PasswordLastSet -lt $compareDate}

Used a variable for the date to compare with for easier reading.
But you could add it directly to that one line just add parenthesis.