Australia | Removing Your Last Exchange Server: Part 2 – Remote Recipient Commands

Jay Bleau - 18.10.2022

Removing Your Last Exchange Server: Part 2 – Remote Recipient Commands

Australia | Removing Your Last Exchange Server: Part 2 – Remote Recipient Commands

Welcome back to my three-part blog series on Removing Your Last Exchange Server. To recap part one of this series, we reviewed what commands were available on your new management server after retiring your last Exchange server in your synced environment. We also covered how a new security group called “Recipient Management EMT” was created when you finished running through the steps of creating an Exchange hybrid management only server.

In part two, we are going to cover the basics of Remote Recipient Commands.

The “Get” Command

“Get” in PowerShell will output the results of a PowerShell cmdlet, such as Get-MailUser. Used by itself it will not modify attributes. For example, “Get-MailUser -Identity “Mickey Mantle” will return the results of the mail user, Mickey Mantle.

The “Set” Command

“Set” in PowerShell will modify the existing attributes of the specified cmdlet. For example, if you run “Set-DistributionGroup -Identity “HumanResources” -DisplayName “Human Resources””, you will have modified the display name of the distribution Group “HumanResources.”

The “New” Command

“New” commands will create new objects. For example, running “New-MailContact -Name “Aaron Judge” -ExternalEmailAddress “AaronJudge@Yankees.com”, will create a new mail contact called Aaron Judge with his external email address set to AaronJudge@Yankees.com.

The “Remove” Command

Remove command will delete items. If you were to run “Remove-DistributionGroup -Identity “HumanResources”, you will have deleted the distribution group named HumanResources.

The “Disable” Command

The “disable” command will disable the object of the specified property. Such as, Disable-RemoteMailbox -Identity “MikeTrout@Angels.com”. In this case, it will disable the remote mailbox attributes (causing the mailbox to be removed in Exchange Online upon a successful directory sync) but will maintain the on-premises AD user account for the user.

The “Enable” Command

The “enable” command will enable the specified action against a pre-existing AD object. For example, running “Enable-MailUser -Identity “Justin Turner -ExternalEmailAddress JustinTurner@alex-lugoodgers.com” will enable Justin Turner’s on-premises AD user account with an external email address but will not create a remote mailbox.

Other Commands

The “set”, “get”, “new”, “remove”, and “disable” actions are common among most of the managed recipient commands. DistributionGroupMember has two primary commands “add” and “update”.

Add-DistributionGroupMember will add a user to the specified distribution group and Update-DistributionGroupmember will update all members of the specified distribution group to the users you’ve identified in the script.

As well as the actions for DistributionGroupMember, you’ll note the EmailAddressPolicy has an “update” action. Update-EmailAddressPolicy is used for pushing out changes applied to the email address policy to all recipients assigned to the policy.

Conclusion

This completes our summary of the actions and commands available for managing your recipients.

Join us for the final part of Removing Your Last Exchange Server: Part 3- Reviewing Common Commands.

For more information, questions or feedback, as always, please get in touch with us!

THANK YOU FOR YOUR SUBMISSION!

Australia | Removing Your Last Exchange Server: Part 2 – Remote Recipient Commands

The form was submitted successfully.

Join the Insentra Community with the Insentragram Newsletter

Hungry for more?

If you’re waiting for a sign, this is it.

We’re a certified amazing place to work, with an incredible team and fascinating projects – and we’re ready for you to join us! Go through our simple application process. Once you’re done, we will be in touch shortly!

Who is Insentra?

Imagine a business which exists to help IT Partners & Vendors grow and thrive.

Insentra is a 100% channel business. This means we provide a range of Advisory, Professional and Managed IT services exclusively for and through our Partners.

Our #PartnerObsessed business model achieves powerful results for our Partners and their Clients with our crew’s deep expertise and specialised knowledge.

We love what we do and are driven by a relentless determination to deliver exceptional service excellence.

Australia | Removing Your Last Exchange Server: Part 2 – Remote Recipient Commands

Insentra ISO 27001:2013 Certification

SYDNEY, WEDNESDAY 20TH APRIL 2022 – We are proud to announce that Insentra has achieved the  ISO 27001 Certification.