Password changed users last X hours

We will find the users who changed their password last X hours

$date = get-date
 $grp = get-adgroup groupname -properties members 
$grp.members | get-aduser | Get-ADUser -Properties  Name, PasswordExpired, PasswordLastSet, EmailAddress |where {$_.Enabled -eq "True"} | where PasswordLastSet | ? {$_.PasswordLastSet -gt $date.addhours(-4) } | Select-Object emailaddress, passwordlastset