Scripting Blog

A place to learn about PowerShell and share stories of automation

Copy multi-valued Active Directory attributes from one user to another with PowerShell

Summary: Using -Replace parameter with Set-ADUser to copy Active Directory multi-valued attributesQ: Hey, Doctor Scripto!We are in the middle of an Active Directory migration and need to copy the multi-valued attribute “ProxyAddresses” from old user accounts to new ones. Can you do with a few lines of code?—NDA: Hello ND...