Import Exchange Relay Connector IP-Addresses to IIS SMTP instance

For one of our customers, who's moving away from their On-Premise Exchange 2016 server, I needed to move all the relay connectors (Used by legacy applications, appliances, and hardware) to an IIS SMTP instance. Pretty straightforward, but typing the long list of addresses myself... No 🙂 In this blog post, I will show you a way to easily migrate the IP-Addresses from a Receive Connector into an IIS SMTP instance.

Using Send-MgUserMail as the Send-MailMessage replacement

I used the Send-MailMessage cmdlet a lot in the past for testing Receive Connectors in Exchange or for emailing reports in scheduled PowerShell scripts. When you try to use the Send-MailMessage cmdlet, it has been showing you this message for quite a while now: WARNING: The command 'Send-MailMessage' is obsolete. This cmdlet does not guarantee secure connections to SMTP servers. While there is no immediate replacement available in PowerShell, we recommend you do not use Send-MailMessage at this time. See https://aka.ms/SendMailMessage for more information. In this blog post, I will show you the new way of sending emails using Send-MgUserMail. Note: This works for Exchange Online, not for local Exchange installations or any other service running SMTP.

Retrieve Email DNS records using PowerShell

I have been doing a lot of Exchange on-prem to Exchange Online migrations over the last few years, because of that I use mxtoolbox.com a lot for querying MX, SPF, DMARC, and DKIM records. Wouldn't it be convenient to get a simple overview of those records in a PowerShell function? This blog post will show you how 🙂

Copy Exchange Receive Connector Settings using PowerShell

Currently working on rebuilding a failed Exchange 2016 DAG node, installing Exchange, and getting the databases in sync again... And then you remember that the Anonymous Relay settings are something that's configured on each node separately and it contains a lot of IP-addresses 🙁 This blog post shows you a way to copy an existing Receive Connector to a new Exchange server easily!

How to create a report on PST files in your environment

Recently I'm working on an Exchange migration from an Exchange 2016 environment to Exchange Online, the company had a lot of PST archives on home directories which we could import as an Online Archive for the users. But there also were a lot of PST files on department File Shares that needed to be inventoried, this blog post describes how to create a report on those files.