PS commands you'll need to add or remove an email alias

Asset 18

How to add or remove an email alias using Powershell commands

Posted on 18 April 2016 by Beaming Support

Use the following commands to add or remove an email alias using Powershell commands:

To check current exchange mailbox aliases:

Get-Mailbox mailboxname | select -expand emailaddresses alias

To add an email alias to an exchange mailbox:

Set-Mailbox mailboxname -EmailAddresses @{Add='alias@somedomain.co.uk'}

To delete an email alias from an exchange mailbox:

Set-Mailbox mailboxname -EmailAddresses @{Remove=’alias@somedomain.co.uk’}

 

Was this useful?

Beaming is an Internet Service Provider for businesses, so when it comes to networking, cyber security and tech, we know our stuff. We share our knowledge in a monthly email update to subscribers. Sign up below.

  • This field is for validation purposes and should be left unchanged.

Clients we’ve supported

Our happy customers share the results they’ve achieved with the help of Beaming’s connectivity and related services.

Unlock Connectivity Insights

Want to get more from your business’s internet and IT?

    Join the Beaming community and receive our monthly newsletter packed with valuable tips and product updates designed to help your business thrive.

  • This field is for validation purposes and should be left unchanged.