AntiMalware Status

Get report on recent password changes in AD

Here is a quick scrip to pull report on recent password changes for users in Active Directory:

1
2
3
Import-Module ActiveDirectory
$DateCutOff = (Get-Date).AddDays(-5)
Get-ADUser -Filter * -Property passwordlastset | Where-Object { $_.passwordlastset -gt $datecutoff } | Format-Table Name, passwordlastset -Autosize

Leave a Reply