One-Liner: Get a List of AD Users Password Expiry Dates

All good things come to an end. Rivers run their course, curtains fall and… passwords expire. We have epilogues, codas and an Active Directory constructed attribute named msDS-UserPasswordExpiryTimeComputed.  How can we use that attribute to get a list of enabled Active Directory accounts and their password expiry times?   Get-ADUser -filter {Enabled -eq $True -and…

48