Copy-ready commandUnlock-ADAccount — Export Results
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformationProduction warning
Test write operations in a non-production environment first.
Requirements and permissions
- Requirements
- RSAT ActiveDirectory module
- Permissions
- Domain permissions vary
- Last reviewed
- 2026-07-31
Examples
Export Results
Export the output of Unlock-ADAccount for documentation or review.
Unlock-ADAccount jsmith | Export-Csv .\output.csv -NoTypeInformationOriginal command
Unlock a locked Active Directory account.
Unlock-ADAccount jsmithCommon errors
Command not found
Confirm RSAT ActiveDirectory module is installed and available in your current shell.