Category: PowerShell

Microsoft PowerShell Product Group meeting

Just a reminder, the 3rd Thursday of the month, the Microsoft PowerShell Product Group does a monthly online meeting open to the public! September 17th, 2026, is the next one. https://aka.ms/JoinPSCall and the up-to-date info is always available at https://aka.ms/PSCommunityCall Times are: 12:30pm Eastern 11:30am Central 10:30am Mountain 9:30am Pacific 4:30pm UTC Computer Need a

Save a file, change the world

There is something deceptively powerful about saving a file. For most of us, saving a file means we\'re finished with something: a document, a script, a configuration, a report. We save it and move on. But what if that file could recreate an entire environment? What if the file wasn\'t simply a description of what

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