Get-ADUser
SafeQuery AD users
Get-ADUser -Identity <user> -Properties *
Queries Active Directory user attributes; check account state.
Examples
Get-ADUser -Filter "Enabled -eq '$false'"List disabled accounts
Syntax
Get-ADUser -Identity <user> [-Properties *]
Before you run it
Read-only; needs RSAT/AD module.
Related commands
- net userUser account info/ops
- Set-ADUserModify AD users
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store