Exchange 2016 PowerShell
PowerShell:- Get the DNS server IP’s on all Exchange Servers
As Administrators, you may work with 10 Exchange Servers in an environment or you may work with 500. Consistency within configuration is essential as something small like the incorrect DNS server can cause havoc and send you down a rabbit hole trying to find the root...
Exchange 2019:- Retrieving binding information from IIS with PowerShell
In Windows Server 2019 or Windows Server 2022 Core edition, many GUI (Graphical User Interface) items are not available including IIS Manager. On Windows Server Core, pretty much almost everything is configured with PowerShell or if you use another server as a proxy...
Exchange 2019:- Find all groups with Moderation using PowerShell
In my previous blog post, we posted a script that would enable moderation on a Distribution Group and set a Moderator. In this blog post, we will use PowerShell to find all Distribution Groups that have moderation enabled as well as show the moderators of those...
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...