How to add proxy address to Active Directory users with PowerShell scripts?

Read on to know how to add proxy address to an Active Directory (AD) user using PowerShell and how you can get it done easily with ADManager Plus.

Windows PowerShell

Steps to add proxy mail address to AD Users using Powershell:

  • Identify the domain in which the AD user, for whom the proxy address is to be updated for, is located.
  • Create and compile the script for adding a proxy email address to an AD user. Execute the script in PowerShell.
  • Sample script for adding a proxy address to an AD User:
  •  Copied
    Set-Mailbox "Leigh Brown" -EmailAddresses @{add="leigh.brown@example.com"}
    Click to copy entire script

ADManager Plus

To add proxy mail address to AD Users:

  • Navigate to Management > User Management > Bulk User Modification > Modify SMTP address.
  • Select the Domain, the User Account(s) for which you wish to add proxy addresses and add the Proxy Address. You can even import this list from a CSV file. Then click Apply.

Screenshot

Add proxy address to AD Users using ADManager Plus

» Start 30-day Free Trial

Although adding proxy addresses to AD users with native tools like PowerShell looks simple, it comes with a few limitations:

  • PowerShell script can be run only from the computers which have the Active Directory Domain Services role installed in them.
  • The script has to be rewritten if additional proxy addresses are to be added or if an existing proxy address needs to be replaced.
  • The syntax, parameters and iterations need to be correct. A typo or incorrect syntax might be difficult to spot and rectify, especially when the script is a long one.

ADManager Plus lets you perform the same with a few clicks from its web based GUI console. It also has options for adding multiple proxy addresses simultaneously with templates and by importing a CSV file containing the proxy addresses for the users.

Manage Exchange properties for AD users with just a CSV file!

  Get 30-day free trial.
  • Embark on your script-free AD management, reporting, and automation journey with ADManager Plus.
  •  
     
  • By clicking 'Start your free trial now', you agree to processing of personal data according to the Privacy Policy.
  • Thanks
  • Your download should begin automatically in 15 seconds. If not, click here to download manually.

Related Powershell How-to Guides:

The one-stop solution toActive Directory Management and Reporting

Email Download Link