List all users who reset their passwords

Welcome Forums General PowerShell Q&A List all users who reset their passwords

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
1 year, 1 month ago.

  • Author
    Posts
  • #97499

    Participant
    Topics: 5
    Replies: 3
    Points: 1
    Rank: Member

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

  • #97505

    Participant
    Topics: 12
    Replies: 215
    Points: 383
    Helping Hand
    Rank: Contributor

    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.

The topic ‘List all users who reset their passwords’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort