Find All Disabled Users in Active Directory with Powershell
In Active Directory Module for Windows Powershell run this command : Search-ADAccount -AccountDisabled -UsersOnly | Format-Table name, sid -AutoSize
Iordanis Kazanas – Virtual Systems Administrator
In Active Directory Module for Windows Powershell run this command : Search-ADAccount -AccountDisabled -UsersOnly | Format-Table name, sid -AutoSize