As we’ve been working on refreshing the Microsoft 365 Administration Inside Out book (https://www.amazon.com/gp/product/0137908857), I came across several scripts that I mentioned in the book that have since been lost due to the retirement of the TechNet Gallery.
So, I’ve pulled them back, refreshed them, and uploaded them to the PowerShell Gallery. I also published new https://aka.ms links to some existing tools:
New-AADConnectRuleAddProxy – As most of you probably know, you need to have a tenant routing address stamped on mailboxes that will be migrated to Exchange Online. If you’ve modified your objects to not have the address policy applied, they’ll be missing it once you run through the Exchange Hybrid Configuration Wizard. You can use this rule to stamp all of your objects with a tenant address as opposed to running an on-premises script. This will be in the form of an Out-to-AD rule.
Add-TenantProxyAddress – If you don’t want to use AAD Connect to stamp your objects, you can do it the old-fashioned way.
New-AADConnectRuleRemoveProxy – The corollary to adding the tenant proxy is making sure proxies that don’t match the verified domains are removed. You can do it a number of ways, but one of the easier ones is to remove them via AAD Connect.
Remove-ExchangeProxies – Mailbox migrations can also fail if you have proxies not verified in your domain attached to mailboxes.
Update-EAPsSelectively – This tool helps you update your email address policy templates. This is really useful if you want to bulk-update EAPs without triggering OAB rebuilds during an Exchange Hybrid deployment.
Configure-ExManagementNode – This tool can help you set up an Exchange 2013+ server as a management server (without configuring hybrid) or can be used to quickly set defaults for settings (like OAB, web virtual directories, etc.) after an initial install.
Find-DuplicateValues – Core IDFix can identify a number of objects issues, but it doesn’t work to determine if you have duplicate instances of certain properties–these usually get discovered during an AAD Connect synchronization. You can use this tool to find all instances of a given address in all of the checked fields that AAD requires single-value instances.
Public Folder ID Fix – Detects several issues that could foil public folder migrations to Exchange Online.

