COMMAND EVERYTHING.
Find disabled Active Directory user accounts.
Active Directory · Risk: Moderate · Review RequiredGet-ADUser -Filter 'Enabled -eq $false'Copied 1 timeActiveDirectory module (RSAT), network access to a domain controller, permission to read the directory.
Read-only. Results contain account information; handle exports securely.
Get-ADUser -Filter 'Enabled -eq $false'Find disabled Active Directory user accounts. Read-only. Results contain account information; handle exports securely.
https://learn.microsoft.com/en-us/powershell/module/activedirectory/get-aduser
Sign in to keep your own command reference lists.
Explain or customize this command with AI