Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

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 attributes Q: 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? —ND A: Hello ND...