Powershell script allows exporting an ad base. Only AD expired accounts are returned. The file is in csv file format and contain expired and some of their attributes user accounts:
Initials sn givenname title telephonenumber mobile homephone facsimiletelephonenumber company You can add other attributes or remove those present.
Txt file must be renamed ps1