Category: PowerShell

Another RunAs Radio Episode

Talking About New Features in PowerShell I recently had the opportunity to join Run As Radio once again to discuss the latest innovations in PowerShell and where the platform continues to evolve for IT professionals, administrators, and automation engineers. As someone who spends a significant amount of time helping customers modernize operations through automation, PowerShell

Move Code Faster in Visual Studio Code with Alt+Up and Alt+Down

A simple keyboard shortcut that makes rearranging code quick and effortless Small editing shortcuts can make a big difference over the course of a day. In Visual Studio Code, Alt+Up and Alt+Down let you move the current line, or an entire selected block, without cutting, pasting, or fixing indentation afterward. How It Works Place the

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