How to Get Disabled Users with or without PowerShell
Exporting disabled accounts on Active Directory via powershell.
Powershell Command;
Search-ADAccount –AccountDisabled –UsersOnly –ResultPageSize 2000 –ResultSetSize $null | Select-Object SamAccountName, DistinguishedName | Export-CSV “C:\Temp\DisabledUsers.CSV” –NoTypeInformation
http://www.itsystem.tech