New-ADUser — Export ResultsIT technician command center
PowerShell · Active Directory

New-ADUser — Export Results

Export the output of New-ADUser for documentation or review.

Copy-ready commandNew-ADUser — Export Results
New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | 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 New-ADUser for documentation or review.

New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true | Export-Csv .\output.csv -NoTypeInformation

Original command

Create an Active Directory user.

New-ADUser -Name "Jane Smith" -SamAccountName jsmith -Enabled $true

Common errors

Command not found

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