Set-ADUserIT technician command center
PowerShell · Active Directory

Set-ADUser

Update Active Directory user attributes.

Copy-ready commandSet-ADUser
Set-ADUser jsmith -Department "IT"
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

Basic example

Update Active Directory user attributes.

Set-ADUser jsmith -Department "IT"

Common errors

Command not found

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