How to Get It

Native Tools
1. Open Powershell ISE on your domain controller.
2. Run the following command:
Import-Module Activedirectory
3. Type in the following script:
Get-ADUser -LDAPFilter "(!userAccountControl:1.2.840.113556.1.4.803:=2)" -pr * `
| select givenname, sn, mail, samaccountname `
| export-csv c:\temp\user_dump.csv -NoTypeInformation
4. Run the script.
5. Open the .csv file produced by the script in MS Excel.
5. Report Example:
Netwrix Auditor
1. Run Netwrix Auditor.
2. Navigate to Reports → Active Directory → Active Directory - State-in-Time → Select "User Accounts" report → Click "View".
3. Select “Enabled” in a Status filter.
4. Click "Export" button → PDF → Click "Save" → Select where you want to save the file and type its name → Open the file via any pdf viewer.
5. Report Example: