Category: PowerShell

Self-service PowerShell throttling change

You can now relax the PowerShell throttling in your tenant, following these steps. Just like the EWS throttling change, you can do the same task for PowerShell. To request a relaxation of the PowerShell throttling, follow these steps. When logged into the O365 admin portal, simply select the ‘Need help?’ icon at the bottom right

Health Checker .ps1 for Exchange Server

Mark Nivens created this HealthChecker.ps1 file for Exchange servers for your on premises environment. This script checks various configuration items on the Exchange server to make sure they match the recommendations published in the "Exchange 2013 Sizing and Configuration Recommendations" guidance on TechNet. It also reports on Operating System and hardware information. You can run it remotely against a single

PowerShell easy location

What an easy way to clean up the view of your PowerShell path. Add this into your profile if you want to save some screen space and work in a directory other than c:\. You can also grab the current time and place that in the prompt. Use Get-Location to see which path you are

Get-MailboxLocations

Where in the world is your mailbox! While not to be confused with Get-MailboxLocation, this function is designed to just give a count and location of the data center hosting up all your mailboxes. It does run Get-Mailbox against the entire online tenant, so that process could take a while depending on the number of

Set-AutoDiscoverSiteScopeExchangeServers Part 2

In the part 1 of this function, we covered an option to set all Exchange servers to use every AD site in an organization, minus any 'deployment' ones. But what if you have a very large organization, with multiple data centers hosting Exchange servers, various regions to support, and you want to target specific locations

Set-AutoDiscoverSiteScopeExchangeServers Part 1

In this blog post a few years ago: https://techcommunity.microsoft.com/t5/Exchange-Team-Blog/Exchange-Active-Directory-Deployment-Site/ba-p/604329 was a discussion around Exchange AutoDiscoverSiteScope information. The good news is, it worked perfectly in a lab, however, rarely is any production environment like a lab. Thus, there was some missing information. We're updating the article to include solutions to fix the problem. This post is

Get-DAGDatabaseInformation

The function: Get-DAGDatabaseInformation works in Exchange versions that a DAG (Database Availability Group) exists. From 2010 through 2019, this simple little function presents information to the end user about the status of the databases. In the Exchange Admin Center (EAC), the GUI that is, one must click on each server and each DB to see

Exchange_AddIn updated

Well, the one constant in IT is change. The MO_Module was too confusing for people to know what it was for, so I went back and updated the Exchange_AddIn PowerShell Module. All of the updated functions over the past several months are being cut over, I've updated all of the helpURI values, and added in

Connect-ExchangeOnlineNonMFA

This is another handy one to use, which allows connecting to Exchange Online easily. Similar to the O365_Logon module I have published, this function includes a prefix option. The prefix appends a value to the noun of cmdlets that allows you to run more than one remote session in the same PowerShell console that you

Get-GroupMemberCount

Need to know a member count of ALL distribution groups and e-mail enabled security groups in your organization that exports to a CSV file? Then this function is for you. Get-GroupMemberCount This function simply creates a .CSV file of all the e-mail enabled groups and current member count. May not be the most elaborate task,