Power Shell one liner to find AD Objects
Find AD user accounts with account expiration date set, sort and display user's name and expiration date. Get-ADUser -Filter "AccountExpirationDate -ne '*'" -Properties AccountExpirationdate | Sort-Object -Property Name | Format-Table…