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.

Get the best of Beaming

Sign up to our monthly email updates on:

  • Easy cyber security advice anyone can follow
  • Research into what businesses are doing with their tech
  • How-to guides to boost productivity and efficiency

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