Set-ADAccountPassword — Export ResultsIT technician command center
PowerShell · Active Directory

Set-ADAccountPassword — Export Results

Export the output of Set-ADAccountPassword for documentation or review.

Copy-ready commandSet-ADAccountPassword — Export Results
Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation
Production 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 Set-ADAccountPassword for documentation or review.

Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString) | Export-Csv .\output.csv -NoTypeInformation

Original command

Reset an Active Directory password.

Set-ADAccountPassword jsmith -Reset -NewPassword (Read-Host -AsSecureString)

Common errors

Command not found

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