Exchange 2019 PowerShell
Exchange 2019:- Enable Moderation on a Distribution group and set a Moderator
Moderation on groups, especially global company comms groups is a good thing because it means that not just anyone can email them. Many companies only allow HR, IT, Security or other groups to send email to everyone in the company. I put together a script that will...
Exchange 2019:- Add an Accepted Domain with PowerShell
I put together a simple script that will add an Accepted Domain in Exchange 2019 from the Exchange Management Shell (EMS) instead of using the GUI. The script does require manual input of the following fields: DomainName - This is the domain you want to add to...
Exchange 2016/2019:- Display the top 10 largest mailboxes
Have you ever had a request to display the Top X Mailbox Users in an organization? In my lab, I wanted to see which accounts were the highest with all my testing and pumping data in to test certain things and putting together a quick script helped me achieve this....
PowerShell:- Keeping my session alive with keyboard strokes
When running installations, some systems are set to lock after a certain period of inactivity even though the installation is running in the background. Recently I was testing CIS Group Policy policies and my labs kept locking and it becomes frustrating to keep having...
Exchange 2016/2019:- Remove a hidden Inbox rule
In Outlook, Users create Mailbox Inbox rules and then when things stop working or so they think such as "I'm no longer receiving email" but I can send without a problem. When you troubleshoot the issue, Outlook shows rules. This is where PowerShell comes in and will...
Exchange 2016/2019:- Document your environment with PowerShell
I have been working on a script to document a Microsoft Exchange environment using PowerShell and while it does the job of providing the information required, some manual input is needed and the output formatting is still work in progress. Landscape view displays the...
Exchange 2019:- Find the registry key to uninstall Exchange from the command line
Here is a quick tip for you, if you ever want to know the uninstall string to remove an Exchange Server, you can run a simple command to get the UninstallString from the Windows Registry, the command is as follows: Get-ExchangeUninstallKey This command will produce...
Exchange 2016/2019:- Copy your receive connectors to a new server
I thought about writing this blog post as it is something I use often and perhaps it will help you out. The script used is not my own but a fellow MVP so all credit goes to him. As an Exchange Admin, we are constantly busy with Exchange server tasks such as...
Exchange 2016/2019:- Monitor mailbox moves and show the output in a Grid
As Exchange Admins, dealing with mailbox moves is something we do all the time. Checking the status of these moves is done in PowerShell but why not have the ability to view it in a Grid output using a simple script? I have created a script with the columns I thought...
Exchange online:- Find all mailboxes that have ActiveSync enabled.
As many of you have seen that starting 1 October 2022, Microsoft will start disabling Basic Auth on Tenants. This means disruption for many users that make use of EAS and are using the native mail applications on Android and iOS. I put together a script that will help...