PowerShell

Technical articles from Microsoft’s blog about automation using Powershell

PowerShell is now notarized and hardened for macOS

We’re excited to announce that the PowerShell packages for macOS are now properly notarized and hardened, meeting both Apple’s security requirements and Microsoft’s internal compliance standards. This has been one of the most consistently requested improvements from our macOS community, and we’re glad to finally deliver it. What changed Starting with the next release, the […]

PowerShell is now notarized and hardened for macOS Continue Reading

PowerShell PSResource Roadmap and Best Practices

PowerShell is a critical automation and configuration platform across enterprises—and as that automation grows, how you source, validate, and distribute PowerShell packages becomes just as important as the scripts themselves. Modern security guidance increasingly treats package feeds as part of the software supply chain. For PowerShell, that means being deliberate about which repositories you trust,

PowerShell PSResource Roadmap and Best Practices Continue Reading

PowerShell 7.6 release postmortem and investments

We recently released PowerShell 7.6, and we want to take a moment to share context on the delayed timing of this release, what we learned, and what we’re already changing as a result. PowerShell releases typically align closely with the .NET release schedule. Our goal is to provide predictable and timely releases for our users.

PowerShell 7.6 release postmortem and investments Continue Reading

PowerShell, OpenSSH, and DSC team investments for 2026

As is tradition, we are publishing our planned team investments for the year. This is based on our current understanding of customer and community needs, but is subject to change based on emerging priorities throughout the year. Community thanks! Before we dive into the planned investments, I want to take a moment to thank the

PowerShell, OpenSSH, and DSC team investments for 2026 Continue Reading

PowerShell, OpenSSH, and DSC team investments for 2025

First, apologies getting this out so late into the year. We’ve been very busy and just found the time to write this update. Security improvements We continue to treat security as a top priority and as issues are discovered or reported, we will continue to prioritize these issues over new feature development. Bug fixes and

PowerShell, OpenSSH, and DSC team investments for 2025 Continue Reading

Authoring Enhancements in Microsoft Desired State Configuration v3.0.0

This is the third post in a multi-part series about the new release of DSC. Microsoft Desired State Configuration (DSC) v3.0.0 provides powerful feature that enhance the authoring experience. Shell completion Schema-based validation Support for modern DSLs like Azure Bicep TIP This post uses the following terminology: DSC refers to Desired State Configuration (DSC) v3.0.0.

Authoring Enhancements in Microsoft Desired State Configuration v3.0.0 Continue Reading

Get started with Microsoft Desired State Configuration v3.0.0

This is the second post in a multi-part series about the new release of DSC. Microsoft Desired State Configuration (DSC) v3.0.0 is a modern, cross-platform configuration management framework designed to help administrators and developers declaratively define and enforce system states. Whether you’re managing infrastructure, deploying applications, or automating system configurations, DSC provides a flexible and

Get started with Microsoft Desired State Configuration v3.0.0 Continue Reading

Microsoft Update changes for PowerShell 7

It has been a while since we’ve updated folks on the latest behaviors for Microsoft Update! This post gives some background on Microsoft Update, explains our update rules, and announces our plans for updating your installs of PowerShell 7.2. About Microsoft Update Microsoft Update (MU) is a service that provides automatic updates for Microsoft products

Microsoft Update changes for PowerShell 7 Continue Reading

Encrypting secrets locally

If you are involved in support or development, often you need to use secrets, passwords, or subscription keys in PowerShell scripts. These need to be kept secure and separate from your scripts but you also need access to them ALL THE TIME. So instead of hand entering them every time they should be stored in

Encrypting secrets locally Continue Reading

Simple form development using PowerShell

PowerShell is a tool for the command line. Most people who use it are comfortable with the command line. But sometimes, there are valid use cases to provide Graphical User Interface (GUI). Important caveat As PowerShell developers we need to be careful. We can do insanely complicated things with GUI’s (and the .NET classes), and

Simple form development using PowerShell Continue Reading