Search-ADAccount — Basic UsageIT technician command center
PowerShell · Active Directory

Search-ADAccount — Basic Usage

Use Search-ADAccount for a standard administrative task.

Copy-ready commandSearch-ADAccount — Basic Usage
Search-ADAccount -LockedOut

Requirements and permissions

Requirements
RSAT ActiveDirectory module
Permissions
Domain permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use Search-ADAccount for a standard administrative task.

Search-ADAccount -LockedOut

Original command

Find locked, disabled, inactive, or expired accounts.

Search-ADAccount -LockedOut

Common errors

Command not found

Confirm RSAT ActiveDirectory module is installed and available in your current shell.