PowerShell Team

Automating the world one-liner at a time…

Latest posts

Introducing MCP Support in AI Shell Preview 6
Aug 5, 2025
Post comments count 0
Post likes count 3

Introducing MCP Support in AI Shell Preview 6

Steven Bucher
Steven Bucher

We're excited to share the latest preview release of AI Shell that includes new features and improvements based on your feedback.

Announcing Microsoft.PowerShell.PlatyPS 1.0.0
Jul 24, 2025
Post comments count 3
Post likes count 6

Announcing Microsoft.PowerShell.PlatyPS 1.0.0

Jason Helmick Sean Wheeler
Jason,
Sean

We are pleased to announce the general availability of Microsoft.PowerShell.PlatyPS 1.0.0, a tool to build PowerShell help files.

Announcing Microsoft Desired State Configuration v3.1.0
Jun 18, 2025
Post comments count 0
Post likes count 3

Announcing Microsoft Desired State Configuration v3.1.0

Jason Helmick
Jason Helmick

This post announces the release of Microsoft Desired State Configuration v3.1.0. We discuss the features and benefits of DSC and how it differs from PowerShell DSC.

AI Shell Preview 4 Release!
May 21, 2025
Post comments count 1
Post likes count 5

AI Shell Preview 4 Release!

Steven Bucher
Steven Bucher

We're excited to share the latest preview release of AI Shell that includes new features and improvements based on your feedback.

PowerShell, OpenSSH, and DSC team investments for 2025
Apr 14, 2025
Post comments count 4
Post likes count 3

PowerShell, OpenSSH, and DSC team investments for 2025

Steve Lee
Steve Lee

Planned team investments for 2025 for PowerShell, OpenSSH, DSC, and related tooling.

Authoring Enhancements in Microsoft Desired State Configuration v3.0.0
Mar 12, 2025
Post comments count 0
Post likes count 3

Authoring Enhancements in Microsoft Desired State Configuration v3.0.0

Jason Helmick
Jason Helmick

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. DSC command completer The completer command returns a shell script that, when executed, registers completions for the given shell. DSC can generate completion scripts for the following shells: To learn more, see the command reference documentation. Enhanced Authoring with Schemas Working with DSC platform involves writing configuration documents and resource manifests. D...

Get started with Microsoft Desired State Configuration v3.0.0
Mar 12, 2025
Post comments count 4
Post likes count 4

Get started with Microsoft Desired State Configuration v3.0.0

Jason Helmick
Jason Helmick

This post show you how to install DSC v3.0.0 and get started using the **dsc** command.

Announcing Microsoft Desired State Configuration v3.0.0
Mar 12, 2025
Post comments count 6
Post likes count 12

Announcing Microsoft Desired State Configuration v3.0.0

Jason Helmick
Jason Helmick

This post announces the release of Microsoft Desired State Configuration v3.0.0. We discuss the features and benefits of DSC and how it differs from PowerShell DSC.

Announcing AI Shell Preview 2
Feb 28, 2025
Post comments count 6
Post likes count 5

Announcing AI Shell Preview 2

Steven Bucher
Steven Bucher

We are pleased to share a new preview release of AI Shell!

Microsoft Update changes for PowerShell 7
Feb 27, 2025
Post comments count 3
Post likes count 2

Microsoft Update changes for PowerShell 7

Steven Bucher
Steven Bucher

This blog outlines the expected behavior of MU releases for PowerShell 7.

PowerShell 7.5 GA is now available
Feb 12, 2025
Post comments count 2
Post likes count 3

PowerShell 7.5 GA is now available

Jason Helmick
Jason Helmick

We're pleased to announce the release of PowerShell 7.5.0! For this release the focus has been on quality, security and stability of the platform. We greatly appreciate the enormous amount of community contributions in this release along with new cmdlets, experimental features and other quality of life additions. PowerShell 7.5 is built on top of .NET 9 and will be supported for 18 months as a standard support release. Please note that support for PowerShell 7.2 is ended November 8, 2024. PowerShell 7.4 is the current LTS release of PowerShell and is supported until November 2026. How do I get it? PowerShell...

Announcing the Public Preview of AI Shell
Nov 19, 2024
Post comments count 6
Post likes count 13

Announcing the Public Preview of AI Shell

Steven Bucher
Steven Bucher

We are pleased to announce the public preview of AI Shell.

PowerShell 7.5 RC-1 is now available
Nov 18, 2024
Post comments count 1
Post likes count 5

PowerShell 7.5 RC-1 is now available

Sydney Smith
Sydney Smith

Availability of PowerShell 7.5 RC1

Announcing Microsoft.PowerShell.PlatyPS 1.0.0-Preview1
Oct 30, 2024
Post comments count 1
Post likes count 4

Announcing Microsoft.PowerShell.PlatyPS 1.0.0-Preview1

Jason Helmick
Jason Helmick

We are pleased to announce the release of Microsoft.PowerShell.PlatyPS 1.0.0-Preview1, a tool to build PowerShell help files.

PSResourceGet support for Azure Container Registry (ACR) is in Preview
Apr 2, 2024
Post comments count 2
Post likes count 5

PSResourceGet support for Azure Container Registry (ACR) is in Preview

Sydney Smith
Sydney Smith

PSResourceGet 1.1 preview 1 is available

PowerShell and OpenSSH team investments for 2024
Feb 5, 2024
Post comments count 1
Post likes count 8

PowerShell and OpenSSH team investments for 2024

Steve Lee
Steve Lee

Planned team investments for 2024 for PowerShell, OpenSSH, and related tooling.

PowerShell 7.4 General Availability
Nov 16, 2023
Post comments count 0
Post likes count 9

PowerShell 7.4 General Availability

Steve Lee
Steve Lee

PowerShell 7.4 GA has been released.

PowerShell 7.4 Release Candidate 1
Oct 30, 2023
Post comments count 2
Post likes count 1

PowerShell 7.4 Release Candidate 1

Sydney Smith
Sydney Smith

Availability of PowerShell 7.4 RC1

PowerShell Extension for Visual Studio Code Fall 2023 Update
Oct 25, 2023
Post comments count 0
Post likes count 3

PowerShell Extension for Visual Studio Code Fall 2023 Update

Sydney Smith
Sydney Smith

PowerShell Extension for Visual Studio Fall 2023 Update

PSResourceGet is generally available
Oct 9, 2023
Post comments count 5
Post likes count 5

PSResourceGet is generally available

Sydney Smith
Sydney Smith

PSResourceGet is generally available

PSReadLine 2.3.4 GA Release
Oct 3, 2023
Post comments count 0
Post likes count 7

PSReadLine 2.3.4 GA Release

Steven Bucher
Steven Bucher

We are excited to announce the general availability of PSReadLine 2.3.4!

PowerShellGet 3.0.22-beta22 is now available
Sep 20, 2023
Post comments count 0
Post likes count 3

PowerShellGet 3.0.22-beta22 is now available

Sydney Smith
Sydney Smith

The latest preview of PowerShellGet is now available on the PowerShell Gallery. In this new preview version of PowerShellGet, PowerShellGet is a compatibility module that allows use of PowerShellGet 2.x (and below) cmdlet syntax with PSResourceGet functionality by making a best effort mapping between the cmdlet interfaces of both versions of the module. This module is a continuation of the CompatPowerShellGet project, but will now be shipping under the PowerShellGet module name. How to install the module To install from PSResourceGet (which is included in PowerShell 7.4 Preview 5) To install from PowerShel...

Announcing PowerShell Crescendo 1.1.0 General Availability (GA)
Sep 12, 2023
Post comments count 0
Post likes count 5

Announcing PowerShell Crescendo 1.1.0 General Availability (GA)

Jason Helmick
Jason Helmick

Announcing the General Availability (GA) release of PowerShell Crescendo 1.1.0, a framework for the

PSResourceGet Release Candidate is Now Available
Sep 7, 2023
Post comments count 1
Post likes count 2

PSResourceGet Release Candidate is Now Available

Sydney Smith
Sydney Smith

Microsoft.PowerShell.PSResourceGet is a continuation of the PowerShellGet 3.0 project. The release candidate of this module under the new name is now available on the PowerShell Gallery. This release contains a number of bug fixes. This release is considered "go live" meaning that it is a fully supported release and expected to be of GA quality. After this release we don't expect to make any changes before we make the module "Generally Available (GA)". Please test out this module and report any issues so that we can resolve any blocking scenarios before this module becomes GA. Once this module becomes GA we will ...

PowerShell Adapter Feedback Provider
Aug 28, 2023
Post comments count 0
Post likes count 1

PowerShell Adapter Feedback Provider

Steven Bucher
Steven Bucher

This blog outlines the PowerShell Adapter Feedback Provider module

PSResourceGet Preview 24 is Now Available
Aug 16, 2023
Post comments count 0
Post likes count 1

PSResourceGet Preview 24 is Now Available

Sydney Smith
Sydney Smith

Microsoft.PowerShell.PSResourceGet is a continuation of the PowerShellGet 3.0 project. The latest preview release of this module under the new name is now available on the PowerShell Gallery. This release contains improved publish support, new aliases and many bug fixes. This is the last planned preview release before we release a "Release Candidate (RC)" of the module. From there we don't expect to make any changes before we make the module "Generally Available (GA)". How to install the module To install from PSResourceGet previews (which is included in PowerShell 7.4 Preview 4) To install from PowerShell...

Announcing PowerShell Crescendo 1.1.0-RC1
Aug 8, 2023
Post comments count 0
Post likes count 1

Announcing PowerShell Crescendo 1.1.0-RC1

Jason Helmick
Jason Helmick

This RC contains several community requested features and fixes including improved support for PSScriptAnalyzer, improvements to error handling, and the addition of `ExcludeAsArgument` property.

Desired State Configuration (DSC) Planning Update
Aug 7, 2023
Post comments count 1
Post likes count 3

Desired State Configuration (DSC) Planning Update

Michael Greene
Michael Greene

A fun and informative blog post sharing the exciting plans and roadmap for Desired State Configuration (DSC), including plans for compatibility, transparency, cross-platform support, and more.

Microsoft.PowerShell.TextUtility module updates
Jul 17, 2023
Post comments count 1
Post likes count 7

Microsoft.PowerShell.TextUtility module updates

Jim Truher
Jim Truher

TextUtility module gets new functionality We have recently released another preview of the TextUtility module. This module is a collection of tools that are meant to help with working with text content. Installing the module You can install this module from the PowerShellGallery with PowerShellGet via: Or you can install it with PSResourceGet via: ConvertFrom-TextTable The most recent pre-release of Microsoft.PowerShell.TextUtility has some new exciting functionality. The new cmdlet allows you to take tabular text and convert it into objects. Also, there is a way to convert some of types of those ...

JSON Adapter Feedback Provider
Jul 10, 2023
Post comments count 5
Post likes count 2

JSON Adapter Feedback Provider

Steven Bucher Jim Truher
Steven,
Jim

This blog outlines a new feedback provider developed by the PowerShell Team to inform users of native executables that can output `JSON`.

What are Feedback Providers?
Jul 6, 2023
Post comments count 2
Post likes count 4

What are Feedback Providers?

Steven Bucher
Steven Bucher

This is an introduction to the concept of feedback providers in PowerShell. What they are, how to use them and why we are implementing them.

PSResourceGet Preview is Now Available
Jun 9, 2023
Post comments count 0
Post likes count 4

PSResourceGet Preview is Now Available

Sydney Smith
Sydney Smith

Microsoft.PowerShell.PSResourceGet is a continuation of the PowerShellGet 3.0 project. The first preview release of this module under the new name is now available on the PowerShell Gallery. This release contains the module rename, and reintroduces support for Azure Artifacts, GitHub packages, and Artifactory and contains a number of bug fixes. How to install the module To install from PowerShellGet 3.0 previews To install from PowerShellGet 2.2.5 Note that once you install this module you will need to re-register your repositories as the repository registration file has moved. What is included in th...

PowerShellGet in PowerShell 7.4 Updates
May 17, 2023
Post comments count 1
Post likes count 4

PowerShellGet in PowerShell 7.4 Updates

Sydney Smith
Sydney Smith

Version 3 previews of PowerShellGet will begin shipping in PowerShell 7.4 previews in June (preview 5) with the following updates. These changes include important plans to address migration and compatibility, and we would like to request feedback. We would greatly appreciate your thoughtful feedback on these plans while there is still time to consider changes. Please comment on this github issue. Considerations for this decision We appreciate the feedback we have already been given by the community, at PowerShell events, by MVP's, and by our peers. Some of the key fa...

PowerShellGet 3.0 Preview 21
May 10, 2023
Post comments count 0
Post likes count 2

PowerShellGet 3.0 Preview 21

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! How to Install PowerShellGet 3.0 Preview 21 Prerequisites Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install the latest versions of these modules run the following: Installing the Preview To install this preview release side-by-side with your exi...

Completion Predictor v0.1.1 Release
May 10, 2023
Post comments count 0
Post likes count 4

Completion Predictor v0.1.1 Release

Steven Bucher
Steven Bucher

We released a new version of the CompletionPredictor! This blog post highlights some of the new functionalities of it.

PowerShell Extension for Visual Studio Code Spring 2023 Update
May 8, 2023
Post comments count 0
Post likes count 2

PowerShell Extension for Visual Studio Code Spring 2023 Update

Steve Lee Sydney Smith
Steve,
Sydney

PowerShell Extension for Visual Studio Spring 2023 Update

PSReadLine 2.3.1-beta1 Release
May 8, 2023
Post comments count 0
Post likes count 5

PSReadLine 2.3.1-beta1 Release

Steven Bucher
Steven Bucher

We are very excited to annouce the release of PSReadLine 2.3.1-beta1 is now available on the PowerShell Gallery! We have added a brand new tool tip feature to help give more descriptions to predictor results.

PowerShellGet 3.0 Preview 20
Mar 31, 2023
Post comments count 1
Post likes count 1

PowerShellGet 3.0 Preview 20

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a major refactor of the module to remove the dependency on the NuGet client APIs for remote repositories. This version of the module, along with the PowerShellGet compatibility module, will be shipping in the next preview of PowerShell 7.4 (preview 3). How to Install PowerShellGet 3.0 Preview 20 Prerequisites Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have inst...

PSReadLine 2.3.0-beta0 Release
Mar 13, 2023
Post comments count 0
Post likes count 2

PSReadLine 2.3.0-beta0 Release

Steven Bucher
Steven Bucher

Announcement of PSReadLine 2.3.0-beta0 release and description of the new features and fixes available.

PowerShell Extension for Visual Studio Code February 2023 Update
Feb 23, 2023
Post comments count 1
Post likes count 5

PowerShell Extension for Visual Studio Code February 2023 Update

Sydney Smith
Sydney Smith

We are excited to announce that the February update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. In this update we rewrote all the symbol logic. Classes (and their properties and methods) are now proper symbols. We now have a single visitor that builds a cached dictionary of symbols for each file instead of a dozen similar-yet-different Abstract Symbol Tree (AST) PowerShell script visitors handling different parts of each symbol-related request. This was a massive simplification of the code that also leads to huge performance improvements across all the symbol...

PowerShell/OpenSSH Team Investments for 2023
Jan 23, 2023
Post comments count 2
Post likes count 7

PowerShell/OpenSSH Team Investments for 2023

Steve Lee
Steve Lee

Team investments for 2023 across PowerShell, PowerShellGallery, OpenSSH, and supporting tools

PowerShell Extension for Visual Studio Code January 2023 Update
Jan 20, 2023
Post comments count 0
Post likes count 0

PowerShell Extension for Visual Studio Code January 2023 Update

Sydney Smith
Sydney Smith

We are excited to announce that the January update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This first stable release for the new year includes a multitude of fixes for the debugger! Expanding variables with properties that are inaccessible no longer causes a short-circuit preventing the rest of the properties from being expanded, variable values whose expansion results in PowerShell code being executed now works as expected, and in general all the correct properties are now present. We look forward to adding the ability to view static and private fields in...

PowerShellGet 3.0 Preview 18
Jan 11, 2023
Post comments count 0
Post likes count 2

PowerShellGet 3.0 Preview 18

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a number of bug fixes as well as cmdlet. How to Install PowerShellGet 3.0 Preview 18 Prerequisites Please note that this preview release of PowerShellGet 3.0 does not support PowerShell 7.0, 7.1 or 7.2-preview1. This is a temporary issue due to a dependency and should be resolved in future releases. This release does support Windows PowerShell 5.1, PowerShell 7.2 and 7.3. Please ensure that you have the latest (non-prerelease) version of PowerShellGet and Package...

Announcing PowerShell Crescendo 1.1.0-preview01
Dec 6, 2022
Post comments count 1
Post likes count 2

Announcing PowerShell Crescendo 1.1.0-preview01

Jason Helmick
Jason Helmick

**PowerShell Crescendo 1.1.0-preview01**. This preview includes a new schema, support for argument value transformation, the ability to bypass the output handler, and improved error handling.

PowerShell Extension for Visual Studio Code October 2022 Update
Dec 5, 2022
Post comments count 0
Post likes count 0

PowerShell Extension for Visual Studio Code October 2022 Update

Andy Jordan
Andy Jordan

We are excited to announce that the October update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This October stable release incorporates a number of bugfixes throughout September and early October, though is not based on the latest preview, v2022.10.1-preview, as the refactors involved in enabling TypeScript's strict type checking and ESLint's strict linting will need more testing. However, based on the success of the PowerShell Script Analyzer's v1.21.0 release we wanted to get this to you sooner! Updates in the October Release Note that these update...

PowerShell 7.3 General Availability
Nov 9, 2022
Post comments count 6
Post likes count 4

PowerShell 7.3 General Availability

Steve Lee
Steve Lee

General availability of PowerShell 7.3

PSScriptAnalyzer (PSSA) 1.21.0 has been released
Oct 24, 2022
Post comments count 3
Post likes count 1

PSScriptAnalyzer (PSSA) 1.21.0 has been released

Jim Truher
Jim Truher

Announcing the release of PSScriptAnalyzer 1.21

PowerShellGet 3.0 Preview 17
Sep 9, 2022
Post comments count 1
Post likes count 3

PowerShellGet 3.0 Preview 17

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes a number of bug fixes as well as support for specifying the temporary path used during installation of PSResources. How to Install PowerShellGet 3.0 Preview 17 Prerequisites Please note that this preview release of PowerShellGet 3.0 does not support PowerShell 7.0, 7.1 or 7.2-preview1. This is a temporary issue due to a dependency and should be resolved in future releases. This release does support Windows PowerShell 5.1, PowerShell 7.2 and 7.3-previews. Please en...

PowerShell Extension for Visual Studio Code August 2022 Update
Aug 30, 2022
Post comments count 1
Post likes count 2

PowerShell Extension for Visual Studio Code August 2022 Update

Sydney Smith Andy Jordan
Sydney,
Andy

We are excited to announce that the August update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release adds a walkthrough experience for getting started with PowerShell in VS Code, more regression tests, a major LSP client library update, and includes a number of bug fixes! Updates in the August Release Note that these updates all shipped in our PowerShell Preview Extension for VS Code before shipping in our stable channel. Some highlights of August releases: For the full ...

Archive Module 2.0 Preview 2
Aug 10, 2022
Post comments count 0
Post likes count 0

Archive Module 2.0 Preview 2

Sydney Smith
Sydney Smith

We are excited to announce that the second preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery. This release is the second preview release of a rewrite of the module and is not feature complete. Please note that this release is only compatible with PowerShell 7.3.0-preview5 and up. For more information on what is proposed in this rewrite, or to give feedback on the design please refer to the RFC. Installing the module Please note that this release will only work with PowerShell 7.3.0-preview5 and up. Find and i...

Announcing the release of Get-WhatsNew
Aug 8, 2022
Post comments count 0
Post likes count 3

Announcing the release of Get-WhatsNew

Jason Helmick
Jason Helmick

Get the latest PowerShell feature information in your terminal with Get-WhatsNew

PowerShell Extension for Visual Studio Code July 2022 Update
Jul 31, 2022
Post comments count 2
Post likes count 1

PowerShell Extension for Visual Studio Code July 2022 Update

Steve Lee Sydney Smith
Steve,
Sydney

We are excited to announce that the July update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release renames the "PowerShell Integrated Console" to the "PowerShell Extension Terminal" to align with VS Code's verbiage, adds many regression tests, and includes a number of bug fixes! Updates in the July release Note that these updates all shipped in our PowerShell Preview Extension for VS Code before shipping in our stable channel. Some highlights of July release: For the full list of changes please refer to our changelog. Improvem...

PowerShellGet 3.0 Preview 16
Jul 28, 2022
Post comments count 0
Post likes count 2

PowerShellGet 3.0 Preview 16

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes ScriptFileInfo cmdlets,  support, and an AuthenticodeCheck for Install. How to Install PowerShellGet 3.0 Preview 16 Prerequisites Please note that this preview release of PowerShellGet 3.0 does not support PowerShell 7.0, 7.1 or 7.2-preview1. This is a temporary issue due to a dependency and should be resolved in future releases. This release does support Windows PowerShell 5.1, PowerShell 7.2 and 7.3-previews. Please ensure that you have the latest (non-prereleas...

Archive Module 2.0 Preview 1
Jul 26, 2022
Post comments count 4
Post likes count 2

Archive Module 2.0 Preview 1

Sydney Smith
Sydney Smith

We are excited to announce that the first preview of a rewrite of Microsoft.PowerShell.Archive, the module that lets you create and extract archives, is now available on the PowerShell Gallery. This release is the first preview release of a rewrite of the module and is not feature complete. Please note that this release only contains the  cmdlet and is only compatible with PowerShell 7.3.0-preview5 and up. For more information on what is proposed in this rewrite, or to give feedback on the design please refer to the RFC. Goals of the 2.0 release The goal for the Archive module is to build a high-performing a...

PowerShell Extension for Visual Studio Code June 2022 Update
Jul 1, 2022
Post comments count 0
Post likes count 0

PowerShell Extension for Visual Studio Code June 2022 Update

Sydney Smith
Sydney Smith

We are excited to announce that an update to the PowerShell Extension for Visual Studio Code is now available on the extension marketplace. This release fixes a number of issues related to IntelliSense and enables updates to PowerShell Editor Services (the engine of the VS Code extension) for other clients, such as Emacs and Vim with LSP plug-ins. Updates from the June releases Some highlights of June releases: For the full list of changes please refer to our changelog. IntelliSense improvements In this release we have made a number of improvements t...

Hosting PowerShell in a Python script
Jun 27, 2022
Post comments count 1
Post likes count 2

Hosting PowerShell in a Python script

Jim Truher
Jim Truher

How to use Python to call the PowerShell engine without running the PowerShell executable

PSReadLine 2.2.6 enables Predictive Intellisense by default
Jun 27, 2022
Post comments count 3
Post likes count 2

PSReadLine 2.2.6 enables Predictive Intellisense by default

Jason Helmick
Jason Helmick

Announcing Predictive Intellisense has been proven to be a productivity booster and so we are enabling it by default starting with PSReadLine 2.2.6!

PowerShellGet 3.0 Preview 14
May 31, 2022
Post comments count 0
Post likes count 0

PowerShellGet 3.0 Preview 14

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes support for PSResourceRepository credential persistence, as well as support for RequiredResourceFiles for Install. How to Install PowerShellGet 3.0 Preview 14 Prerequisites Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command  The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install the ...

Major update to the PowerShell Extension for Visual Studio Code
May 3, 2022
Post comments count 3
Post likes count 0

Major update to the PowerShell Extension for Visual Studio Code

Sydney Smith
Sydney Smith

An updated version of our PowerShell extension is now available on the Visual Studio Code marketplace. This update represents a complete overhaul of the core PowerShell engine of PowerShell Editor Services, intending to create a more reliable and stable user experience. This release represents nearly two years' work, tracked in PSES #1295 and implemented in PSES #1459. It is our response to many issues opened by users over the last several years. Thank you to all of the community members who opened issues which helped motivate this major update. These major updates have also been tested over the last 6 months,...

Announcing PowerShell Crescendo General Availability (GA)
Mar 10, 2022
Post comments count 0
Post likes count 1

Announcing PowerShell Crescendo General Availability (GA)

Jason Helmick
Jason Helmick

Announcing the General Availability (GA) release of PowerShell Crescendo, a framework for the

PowerShell and OpenSSH team investments for 2022
Mar 4, 2022
Post comments count 3
Post likes count 0

PowerShell and OpenSSH team investments for 2022

Steve Lee
Steve Lee

Planned team investments for 2022 for PowerShell and OpenSSH.

PSReadLine 2.2 GA
Feb 23, 2022
Post comments count 0
Post likes count 0

PSReadLine 2.2 GA

Jason Helmick
Jason Helmick

Announcing the general availability (GA) release for PSReadLine 2.2. This release addresses community suggestions and feedback. Be sure to checkout new features Predictive IntelliSense and Dynamic Help.

PSReadLine 2.2 RC
Jan 31, 2022
Post comments count 0
Post likes count 0

PSReadLine 2.2 RC

Jason Helmick
Jason Helmick

This is the release candidate (RC) for PowerShell PSReadLine 2.2. We look forward to community validation and feedback prior to the general release (GA). This release candidate includes several community fixes and suggested features.

When PowerShellGet v1 fails to install the NuGet Provider
Jan 20, 2022
Post comments count 0
Post likes count 5

When PowerShellGet v1 fails to install the NuGet Provider

Amber Erickson
Amber Erickson

How to resolve errors in PowerShellGet v1 when attempting to install the NuGet package provider.

PowerShellGet 3.0 Preview 12 Release
Dec 9, 2021
Post comments count 0
Post likes count 0

PowerShellGet 3.0 Preview 12 Release

Sydney Smith
Sydney Smith

We are excited to announce that an update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This release includes more parameters, additional pipeline support, more wildcard support and a number of other features detailed below. How to Install PowerShellGet 3.0 Preview 12 Prerequisites Please ensure that you have the latest (non-prerelease) version of PowerShellGet and PackageManagement installed. To check the version you currently have installed run the command:  The latest version of PowerShellGet is 2.2.5, and the latest version of PackageManagement is 1.4.7. To install th...

Announcing PowerShell Crescendo Release Candidate (RC)
Dec 9, 2021
Post comments count 0
Post likes count 0

Announcing PowerShell Crescendo Release Candidate (RC)

Jason Helmick
Jason Helmick

This is the release candidate (RC) for PowerShell Crescendo. We look forward to community validation and feedback prior to the general release (GA). This release adds a versioned schema to support future updates and several community suggested features.

New release of PowerShell Preview for Visual Studio Code!
Nov 9, 2021
Post comments count 0
Post likes count 0

New release of PowerShell Preview for Visual Studio Code!

Sydney Smith
Sydney Smith

An updated version of our PowerShell Preview extension is now available on the Visual Studio Code marketplace. This update represents a complete overhaul of the core PowerShell engine of PowerShell Editor services, with the intention of create a more reliable and stable user experience. This release represents over a year's work, tracked in PSES #1295 and implemented in PSES #1459, and is our response to many issues opened by users over the last few years. Thank you to all of the community members who opened issues which helped motivate this major update. For information on getting started with the PowerShell e...

General Availability of PowerShell 7.2
Nov 8, 2021
Post comments count 11
Post likes count 1

General Availability of PowerShell 7.2

Steve Lee
Steve Lee

Announcing general availability of PowerShell 7.2

Announcing PowerShell Crescendo Preview.4
Oct 25, 2021
Post comments count 1
Post likes count 0

Announcing PowerShell Crescendo Preview.4

Jason Helmick
Jason Helmick

This is the last planned preview before the release candidate (RC). This preview adds support for a globally available schema, several community suggestions, and an experimental help parsing feature to improve complex native command maintenance.

PSArm Experiment Update
Aug 11, 2021
Post comments count 1
Post likes count 0

PSArm Experiment Update

Danny Maertens
Danny Maertens

We are annoucing that the PSArm experimental module is no longer under active development.

PowerShellGet 3.0 Preview 11 Release
Aug 9, 2021
Post comments count 0
Post likes count 0

PowerShellGet 3.0 Preview 11 Release

Amber Erickson
Amber Erickson

We are excited to announce that an important update to our preview of PowerShellGet 3.0 is now available on the PowerShell Gallery! This preview release marks the completion of a complete refactor of this module and is a major step towards being feature complete for PowerShellGet 3.0. PowerShellGet 3.0 is a complete re-write of PowerShellGet with the following goals: This means that PowerShellGet 3.0 does not take a dependency on PackageManagement, NuGet or any other package provider, simplifying the codebase. Using the lessons learned from previous versions of the module, along with...

PowerShell for Visual Studio Code August 2021 Update
Aug 9, 2021
Post comments count 1
Post likes count 0

PowerShell for Visual Studio Code August 2021 Update

Andy Jordan
Andy Jordan

We are excited to announce that an update to our PowerShell extension is now available on the Visual Studio Code Marketplace. This blog will explain what is new in this release as well as what you can expect from extension updates in the coming months. What's new in the PowerShell Extension release This release includes the near-completion of the CI/CD Infrastructure Project. While our release cadence already doubled over the past six months, the final major piece of this effort is complete: with PRs #3461 and #1528 (among others) the release process has been fully automated. This means that we can now relea...

Announcing SecretManagement 1.1 GA
Aug 2, 2021
Post comments count 1
Post likes count 0

Announcing SecretManagement 1.1 GA

Joey Aiello
Joey Aiello

SecretManagement 1.1 is now generally available

Announcing PowerShell Crescendo Preview.3
Jul 27, 2021
Post comments count 1
Post likes count 0

Announcing PowerShell Crescendo Preview.3

Jason Helmick
Jason Helmick

Improving the development and distribution of Crescendo modules, this preview adds support for multiple command definitions per JSON file, and multiple output handlers to wrap native command output into objects.

Preview updating PowerShell 7.2 with Microsoft Update
Jun 16, 2021
Post comments count 4
Post likes count 1

Preview updating PowerShell 7.2 with Microsoft Update

Travis Plunk
Travis Plunk

We are going to begin previewing our updates to PowerShell 7 with Microsoft Update.

PowerShell for Visual Studio Code May 2021 Update
Jun 2, 2021
Post comments count 4
Post likes count 0

PowerShell for Visual Studio Code May 2021 Update

Andy Jordan
Andy Jordan

We are excited to announce that an update to our PowerShell extension is now available on the Visual Studio Code Marketplace. This blog will explain what is new in this release as well as what you can expect from the extension in the coming months. What's new in the PowerShell Extension release This incremental release incorporates a major update to OmniSharp, the Language Server Protocol library we use (like many other VSCode extensions). Behind the scenes there has also been a concerted effort to improve our build and release processes, with the intention of accelerating our release cadence. Some h...

SecretManagement Module v1.1.0 preview update
May 25, 2021
Post comments count 0
Post likes count 0

SecretManagement Module v1.1.0 preview update

Paul Higinbotham
Paul Higinbotham

Potential breaking change in the latest preview of SecretManagement 1.1 module release

Announcing PSDesiredStateConfiguration on PowerShell Gallery
May 14, 2021
Post comments count 1
Post likes count 0

Announcing PSDesiredStateConfiguration on PowerShell Gallery

Jason Helmick
Jason Helmick

We are pleased to announce the release of PSDesiredStateConfiguration 2.0.5 for DSC as a separate module on PowerShell Gallery.

Announcing PowerShell Crescendo Preview.2
May 6, 2021
Post comments count 1
Post likes count 0

Announcing PowerShell Crescendo Preview.2

Jason Helmick
Jason Helmick

Many native commands require elevated privileges to perform the expected operations. PowerShell Crescendo Preview 2 now supports cross platform elevation for your Crescendo wrapped native commands.

Optimizing your $Profile
Apr 6, 2021
Post comments count 9
Post likes count 4

Optimizing your $Profile

Steve Lee
Steve Lee

Learn how to measure and improve startup time of your $Profile

Announcing the preview of PSArm
Mar 31, 2021
Post comments count 7
Post likes count 0

Announcing the preview of PSArm

Steve Lee
Steve Lee

We are pleased to announce the preview of PSArm, providing a domain-specific language embedded in PowerShell for Azure Resource Manager (ARM) templates.

SecretManagement and SecretStore are Generally Available
Mar 25, 2021
Post comments count 4
Post likes count 2

SecretManagement and SecretStore are Generally Available

Sydney Smith
Sydney Smith

We are excited to announce two modules are now generally available on the PowerShell Gallery: To install the modules, open any PowerShell console and run: Introducing SecretManagement The SecretManagement module helps users manage secrets by providing a common set of cmdlets to interface with secrets across vaults. SecretManagement utilizes an extensible model where local and remote vaults can be registered and unregistered for use in accessing and retrieving secrets. The module provides the following cmdlets for accessing secrets and managing SecretVaults: Reference documentation for ...

SecretStore Release Candidate 3
Mar 15, 2021
Post comments count 0
Post likes count 0

SecretStore Release Candidate 3

Sydney Smith
Sydney Smith

The SecretStore release candidate 3 (RC3) module is now available on the PowerShell Gallery. This contains an exciting new feature which allows users to non-interactively create, and configure a SecretStore. This feature was added to support CI systems and other automated scenarios. SecretStore is an extension vault module, for PowerShell SecretManagement, which works over all supported PowerShell platforms on Windows, Linux, and macOS. For more context on this module and the SecretManagement module refer to the previous blog posts: For more context on these modules check out these previous blog posts: ...

Updating help for the PSReadLine module in Windows PowerShell 5.1
Mar 11, 2021
Post comments count 2
Post likes count 7

Updating help for the PSReadLine module in Windows PowerShell 5.1

Sean Wheeler
Sean Wheeler

Describes how to workaround the error when you try to update help for PSReadline in Windows PowerShell 5.1.

Announcing PSReadLine 2.2-beta.2 with Dynamic help
Mar 5, 2021
Post comments count 1
Post likes count 0

Announcing PSReadLine 2.2-beta.2 with Dynamic help

Jason Helmick
Jason Helmick

We are pleased to announce Dynamic Help, providing just-in-time help at the command line. Receive the help you need in the terminal without losing your place typing on the pipeline.

SecretManagement and SecretStore Release Candidate 2
Mar 3, 2021
Post comments count 0
Post likes count 0

SecretManagement and SecretStore Release Candidate 2

Sydney Smith
Sydney Smith

The SecretManagement and SecretStore release candidate 2 (RC2) modules are now available on the PowerShell Gallery. These releases contain an exciting new feature which allows users to provide non-sensitive metadata for secrets (note: this feature may not be available for all extension vaults). For more context on these modules check out these previous blog posts: Before installing this module, please uninstall the current preview versions of the module and restart your PowerShell session. To install these updates run the following commands: SecretManagement Updates In addition to b...

PowerShell Team 2021 Investments
Mar 2, 2021
Post comments count 5
Post likes count 0

PowerShell Team 2021 Investments

Steve Lee
Steve Lee

Details of the work the PowerShell team has planned for PowerShell 7.2, OpenSSH, and related tooling.

PowerShell for Visual Studio Code Updates – February 2021
Feb 25, 2021
Post comments count 4
Post likes count 0

PowerShell for Visual Studio Code Updates – February 2021

Sydney Smith
Sydney Smith

  We are excited to announce that updates to our PowerShell extension and PowerShell Preview extension are now available on the Visual Studio Code marketplace. This blog will explain what is new in these releases as well as what you can expect from the extension in the coming months. What's new in the PowerShell Extension release This incremental release incorporates changes from four preview releases! Some highlights of the release include: For the full list of updates please refer to the changelog. Further goals of this release are well discussed on GitHub. What's new in PowerS...

Announcing PowerShell Community Blog
Feb 18, 2021
Post comments count 1
Post likes count 0

Announcing PowerShell Community Blog

Jason Helmick
Jason Helmick

<Summary of the post>

SecretManagement and SecretStore Release Candidates
Jan 7, 2021
Post comments count 4
Post likes count 0

SecretManagement and SecretStore Release Candidates

Sydney Smith
Sydney Smith

The SecretManagement and SecretStore release candidate (RC) modules are now available on the PowerShell Gallery. The SecretManagement module helps users manage secrets by providing a common set of cmdlets to interface with secrets across vaults. This module supports an extensible model where local and remote vaults can be registered and unregistered for use in accessing and retrieving secrets. SecretStore is a cross-platform local extension vault for use with SecretManagement. We designed this vault as a best attempt at creating a vault that is available where PowerShell is, usable in popular PowerShell scenario...

PowerShell 7.2 Preview 2 release
Dec 15, 2020
Post comments count 8
Post likes count 0

PowerShell 7.2 Preview 2 release

Steve Lee
Steve Lee

Important changes included in the PowerShell 7.2 Preview 2 release

Announcing PowerShell Crescendo Preview.1
Dec 8, 2020
Post comments count 21
Post likes count 0

Announcing PowerShell Crescendo Preview.1

Jason Helmick
Jason Helmick

<Summary of the post>

Incident Report – PowerShell Gallery Downtime October 30, 2020
Dec 2, 2020
Post comments count 2
Post likes count 0

Incident Report – PowerShell Gallery Downtime October 30, 2020

Sydney Smith
Sydney Smith

  The PowerShell gallery experienced downtime on October 30th 2020. This report will give context as to what caused the downtime, what actions were taken to mitigate the issue, and what steps we are taking to improve the PowerShell gallery experience moving forward. Downtime Impact The downtime was declared at 2020-10-30 03:29 PDT, and was mitigated about 12 hours later at 2020-10-30 15:39 PDT. During this time packages were not available from the gallery, and the web interface was not accessible. Root Cause of the Downtime The downtime was a result of an attempt to fix ongoing statistics errors with ...

You’ve got Help!
Nov 23, 2020
Post comments count 2
Post likes count 0

You’ve got Help!

Sean Wheeler
Sean Wheeler

Announcing the new pipeline for publishing updateable help

SecretManagement preview 6 and SecretStore preview 4
Nov 16, 2020
Post comments count 4
Post likes count 0

SecretManagement preview 6 and SecretStore preview 4

Sydney Smith
Sydney Smith

Two updated preview releases are now available on the PowerShell Gallery: For more information on these modules check out these previous blog posts: Before installing these modules, please uninstall the current preview versions of the modules and restart your PowerShell session. To install these updates run the following commands: SecretManagement preview 6 updates This update to SecretManagement improves the compatibility of the module with Windows PowerShell, and improved the usability of the module by providing more ways to unregister vaults and by setting the first registe...

Announcing PowerShell 7.1
Nov 11, 2020
Post comments count 9
Post likes count 0

Announcing PowerShell 7.1

Joey Aiello
Joey Aiello

We're proud to announce the release of PowerShell 7.1, the latest major update to PowerShell 7. This release includes a number of improvements and fixes that build on top of the PowerShell 7.0 release in March and the recent GA release of .NET 5. Since then, the PowerShell Team (and many of you, our community contributors, thank you!) have been hard at work addressing some of the community's top bug reports and feature requests. What's new in PowerShell 7.1? For PowerShell 7.1, we decided to build on the foundation established in PowerShell 7.0 with a strong focus on community issues, especially where we co...

Announcing PSReadLine 2.1+ with Predictive IntelliSense
Nov 10, 2020
Post comments count 3
Post likes count 3

Announcing PSReadLine 2.1+ with Predictive IntelliSense

Jason Helmick
Jason Helmick

Tab completion has accelerated the success of new and experienced PowerShell users for over a decade. New users get the benefit of discovery, seeing available cmdlets and parameters as options while interactively typing. Experienced users receive the benefit of acceleration, typing less while using the Tab key to quickly complete a command. As the scale and complexity of cloud deployments and IT environments grow, cmdlet surface area is continually being updated with new cmdlets and additional parameter sets. For example, If you're beginning your journey with Azure, the Azure PowerShell module can...

SecretManagement and SecretStore Updates
Nov 3, 2020
Post comments count 6
Post likes count 0

SecretManagement and SecretStore Updates

Sydney Smith
Sydney Smith

Two updated preview releases are now available on the PowerShell Gallery: Before installing these modules please uninstall the current preview versions of the modules and restart your PowerShell session. To install these updates run the following commands: SecretManagement Preview 5 Updates This update to SecretManagement improves the usability of the module by adding name completers, and adding functionality to  for vault extension authors as well a a few other changes. Read the full list of changes below: SecretStore Preview 3 Updates This update to Secr...

PowerShell Working Groups
Oct 12, 2020
Post comments count 5
Post likes count 0

PowerShell Working Groups

Joey Aiello
Joey Aiello

Since we open sourced PowerShell in 2016, PowerShell has been an immensely popular project on GitHub. Every year, 700-1000 PRs and 1300-1500 issues are submitted to the PowerShell repo, with roughly half of the PRs and 90% of the issues filed from the community. We realize that some of these issues and PRs have been piling up and, as the project has grown in popularity and community activity, we sometimes struggle with the sheer volume of them. Those of us on the PowerShell Committee have been discussing some ways that we think we might be able to improve the efficiency of our decision-making process,...

SecretManagement and SecretStore Updates
Sep 30, 2020
Post comments count 3
Post likes count 0

SecretManagement and SecretStore Updates

Sydney Smith
Sydney Smith

Two updated preview releases are now available on the PowerShell Gallery: Please note that these preview releases contain breaking changes. This version of SecretStore is incompatible with previous versions because the configuration format has changed. The previous file store cannot be read by the new version and you will need to reset the store Reset-SecretStore after installing the new version. Be sure to save your current stored secrets before upgrading so they can be re-added after you Reset your SecretStore. To install these updates run the following commands: If you see an error indicating ...

PowerShell+Azure Sentinel notebooks to supercharge your threat hunting and investigations!
Sep 24, 2020
Post comments count 0
Post likes count 0

PowerShell+Azure Sentinel notebooks to supercharge your threat hunting and investigations!

Julian Gonzalez
Julian Gonzalez

For those interested in security and security analytics, we recently published an article on how you can now enable PowerShell Jupyter notebooks via .Net Interactive Public Preview for use with Azure Sentinel: https://techcommunity.microsoft.com/t5/azure-sentinel/what-s-new-powershell-azure-sentinel-notebooks-to-supercharge/ba-p/1695969 Happy threat hunting and investigation with PowerShell+Notebooks!  

SecretManagement Module Preview Design Changes
Sep 16, 2020
Post comments count 2
Post likes count 0

SecretManagement Module Preview Design Changes

Paul Higinbotham
Paul Higinbotham

Design changes to SecretManagement module preview

SecretManagement Preview 3
Sep 16, 2020
Post comments count 6
Post likes count 0

SecretManagement Preview 3

Sydney Smith
Sydney Smith

We are excited to announce two modules are now available on the PowerShell Gallery: To install the modules and register the SecretStore vault, open any PowerShell console and run: NOTE: This version of the module has a major breaking changing, if you have used past preview versions of the SecretManagement module, secrets previously stored will not be accessible in this version. Please migrate your secrets before updating. Your old secrets will not be removed after updating so they can be accessed by explicitly importing an earlier version of the module. If you see an error indicating the a depe...

PowerShellGet 3.0 Preview 10 Release
Sep 10, 2020
Post comments count 2
Post likes count 0

PowerShellGet 3.0 Preview 10 Release

Sydney Smith
Sydney Smith

In this blog post we are excited to share: PowerShellGet 3.0 Preview Updates PowerShellGet 3.0 preview 10 is now available on the PowerShell Gallery. This blog post will cover all of the feature updates since we last published a blog post ( preview 6). These versions include completed functionality for updating PSResources, input-object support for installing PSResources as well as several bug fixes. To install the latest version of the module, open any console any run: Install-Module PowerShellGet -AllowPrerelease -Force -Repository PSGallery -SkipPublisherCheck   What's new in the prev...

PowerShell 7.1 Preview 6
Aug 17, 2020
Post comments count 2
Post likes count 0

PowerShell 7.1 Preview 6

Steve Lee
Steve Lee

Update on PowerShell 7.1 release

Semantic Highlighting in the PowerShell Preview extension for Visual Studio Code
Jul 31, 2020
Post comments count 4
Post likes count 0

Semantic Highlighting in the PowerShell Preview extension for Visual Studio Code

Justin Chen
Justin Chen

Semantic Highlighting now supported in VS Code for PowerShell scripts

Public Preview of Notebook Mode in the PowerShell Preview extension for Visual Studio Code
Jul 30, 2020
Post comments count 8
Post likes count 1

Public Preview of Notebook Mode in the PowerShell Preview extension for Visual Studio Code

Tyler Leonhardt
Tyler Leonhardt

Opening PowerShell script files (.ps1) in Notebook Mode in the PowerShell extension for Visual Studio Code

PSScriptAnalyzer 1.19.1
Jul 28, 2020
Post comments count 1
Post likes count 0

PSScriptAnalyzer 1.19.1

Sydney Smith
Sydney Smith

PSScriptAnalyzer 1.19.1 is now available on the PowerShell Gallery. This minor update fixes a few user-reported bugs and introduces a new rule (which is disabled by default) for avoiding using double quotes for constant strings. To install this version of the module, open any PowerShell console and run:  New Rule AvoidUsingDoubleQuotesForConstantString (disabled by default) Severity Level: Information Rule Description When the value of a string is constant (i.e. not being interpolated by injecting variables or expression into such as e.g. ), then single quotes should be used to express the constant nature ...

PowerShellGet 3.0 Preview 6 Release
Jul 7, 2020
Post comments count 2
Post likes count 0

PowerShellGet 3.0 Preview 6 Release

Sydney Smith
Sydney Smith

Since our last blog post we have released two preview versions (previews 4 and 6) of the PowerShellGet 3.0 module. These releases have introduced publish functionality, repository wildcard search, and fixed error handling when a repository is not accessible in Find-PSResource. Note that preview 5 was unlisted due to a packaging error discovered post-publish. To install the latest version module, open any PowerShell console and run: Highlights of the releases Preview 4 (3.0.0-beta4) Highlights New Feature Wildcard search for the -Repository parameter in . This allows the user to return results from al...

Native Commands in PowerShell – A New Approach – Part 2
Jun 26, 2020
Post comments count 7
Post likes count 1

Native Commands in PowerShell – A New Approach – Part 2

Jim Truher
Jim Truher

How to wrap native commands to take better advantage of the PowerShell environment

Native Commands in PowerShell – A New Approach
Jun 22, 2020
Post comments count 3
Post likes count 0

Native Commands in PowerShell – A New Approach

Jim Truher
Jim Truher

In this two part blog post I'm going to investigate how PowerShell can take better advantage of native executables. In the first post, I'm going to discuss a few of the ways that PowerShell can better incorporate native executables into our object oriented world and how we can use these tools to better fit into our model of more discrete operations. In the second post, I'll be exploring some of the work to more easily convert the use of native tools into the cmdlet/object output model of PowerShell. PowerShell provides a number of benefits to its users Some of these are not unique ...

Resolving PowerShell Module Assembly Dependency Conflicts
Jun 16, 2020
Post comments count 11
Post likes count 1

Resolving PowerShell Module Assembly Dependency Conflicts

Robert Holt
Robert Holt

When writing a PowerShell module, especially a binary module (i.e. one written in a language like C# and loaded into PowerShell as an assembly/DLL), it's natural to take dependencies on other packages or libraries to provide functionality. Taking dependencies on other libraries is usually desirable for code reuse. However, PowerShell always loads assemblies into the same context, and this can present issues when a module's dependencies conflict with already-loaded DLLs, preventing two otherwise unrelated modules from being used together in the same PowerShell session. If you've been hit by this yourself, you w...

PowerShell Team May 2020 Update
May 19, 2020
Post comments count 2
Post likes count 0

PowerShell Team May 2020 Update

Steve Lee
Steve Lee

Previously, I published a blog on our investments plans during the PowerShell 7.1 release timeframe. We've made progress across many of those investments with more work ahead of us. PowerShell 7.1 preview 3 We are now able to ship simultaneously with each new .NET 5 preview release! This means that you can start leveraging new capabilities in .NET 5 and assess the new performance improvements. For PowerShell it means we can find issues early during integration with .NET and get those issues resolved much more quickly. Because we will be able to simultaneously release with .NET, it also means users will g...

PowerShellGet 3.0 Preview 3
May 18, 2020
Post comments count 0
Post likes count 0

PowerShellGet 3.0 Preview 3

Sydney Smith
Sydney Smith

PowerShellGet 3.0 preview 3 is now available on the PowerShell Gallery. The focus of this release is the  parameter for  which now allows for json, hashtable, or .json files as input. For a full list of the issues addressed by this release please refer to this GitHub project. Note: For background information on PowerShellGet 3.0 please refer to the blog post for the first preview release and the second preview release. How to install the module To install this version of PowerShellGet open any PowerShell console and run:  New Features of this release New Features Bug Fix Wha...

PowerShell 7 Video Series
May 11, 2020
Post comments count 3
Post likes count 1

PowerShell 7 Video Series

Sydney Smith
Sydney Smith

As a part of our PowerShell 7 release, the PowerShell Team put together a series of videos explaining and demoing aspects of the release. The intent of these videos was for User Groups to host events celebrating and discussing PowerShell 7, however, in light of the current guidance against group gatherings, we have decided to make these videos available publicly on the PowerShell Team YouTube channel. The content is broken down into 10 videos with a total runtime of 58 minutes. We have included links to the videos below, along with links to other related resources. ...

PSScriptAnalyzer (PSSA) 1.19.0 has been released
May 4, 2020
Post comments count 0
Post likes count 0

PSScriptAnalyzer (PSSA) 1.19.0 has been released

Jim Truher
Jim Truher

TL;DR; (Too Long; Didn't Read) This new minor version brings 5 new rules, the formatter is much faster and other enhancements and fixes. You can get it from the PSGallery here. At the same time the PowerShell extension for VS Code has released a new preview version. This ships with this new version of PSSA so that you can also take advantage of all the new configuration options. Therefore, whenever we reference the next version of the extension below, we mean the recently updated preview version or the next, upcoming release of the GA version. You can still take advantage of the new PSSA release in the GA versio...

PowerShellGet 3.0 Preview 2
Apr 30, 2020
Post comments count 0
Post likes count 0

PowerShellGet 3.0 Preview 2

Sydney Smith
Sydney Smith

PowerShellGet 3.0 preview 2 is now available on the PowerShell Gallery. The focus of this release is the Install-PSResource parameter, error messages, and warnings. For a full list of the issues addressed by this release please refer to this GitHub project. Note: For background information on PowerShellGet 3.0 please refer to the blog post for the first preview release. How to install the module To install this version of PowerShellGet open any PowerShell console and run: New Features of this release What is next GitHub is the best place to track the bugs/feature re...

PowerShell Gallery TLS Support
Apr 9, 2020
Post comments count 3
Post likes count 0

PowerShell Gallery TLS Support

Sydney Smith
Sydney Smith

Summary To provide the best-in-class encryption to our customers, the PowerShell Gallery has deprecated Transport Layer Security (TLS) versions 1.0 and 1.1 as of April 2020. The Microsoft TLS 1.0 implementation has no known security vulnerabilities. But because of the potential for future protocol downgrade attacks and other TLS vulnerabilities, we are discontinuing support for TLS 1.0 and 1.1 in the PowerShell Gallery. For information about how to remove TLS 1.0 and 1.1 dependencies, see the whitepaper Solving the TLS 1.0 problem. More information As of April 2020, TLS 1.2 is set to be the default for the...

Depending on the right PowerShell NuGet package in your .NET project
Apr 7, 2020
Post comments count 3
Post likes count 0

Depending on the right PowerShell NuGet package in your .NET project

Robert Holt
Robert Holt

Alongside the executable packages published with each PowerShell release, the PowerShell team also maintain several NuGet packages that are available on NuGet to allow targeting PowerShell as an API platform in .NET. As a .NET application that both provides APIs and expects to load .NET libraries implementing its own (binary modules), it's essential that PowerShell be available in the form of a NuGet package. Currrently there are several NuGet packages that provide some representation of the PowerShell API surface area, and which to use with a particular project hasn't always been made clear. This blog...

PowerShellGet 3.0 Preview 1
Mar 30, 2020
Post comments count 1
Post likes count 0

PowerShellGet 3.0 Preview 1

Sydney Smith
Sydney Smith

We are excited to announce that our first preview release of PowerShellGet 3.0 is now available on the PowerShell Gallery. This is a major update to PowerShell's experience for discovering, installing, updating and publishing PowerShell resources like modules, DSC resources, role capabilities and scripts. This was first proposed in RFC PR #185 and superseded by RFC PR #237. Thanks for all the community feedback! For a detailed view of the update to PowerShellGet please refer to the RFC. This early preview release of the module is not feature complete and has breaking changes intended to improve the user ex...

PowerShell 7.1 Team Investments and Preview.1 Release
Mar 26, 2020
Post comments count 5
Post likes count 0

PowerShell 7.1 Team Investments and Preview.1 Release

Steve Lee
Steve Lee

The PowerShell 7 release marks a huge milestone for PowerShell, the community, and the team! Today we released the first preview for PowerShell 7.1! This release includes a number of changes that did not make it in time for the 7.0 release. It also includes .NET 5 preview 1! The PowerShell team is not resting on our laurels and are committed to continuous improvement of PowerShell as we plan out our 7.1 release. This blog post details the areas of investment that the PowerShell team is funding. As we've done in the past, we'll also be working with contributors interested in implementing new features as ...

Secret Management Preview 2 Release
Mar 19, 2020
Post comments count 10
Post likes count 0

Secret Management Preview 2 Release

Sydney Smith
Sydney Smith

Note this blog post is the third in a series on the releases of this module: We are excited to release a second preview of the Secret Management Module. Thanks to the tremendous feedback we received from the first preview release of this module, you will notice a number of breaking changes to the module. This release is still a preview release meaning that it is not feature complete, future releases will face breaking changes, and we are still iterating based on your feedback. It is important to also note that this version of the module is still Windows only as we are currently implementing Linux sup...

A new kind of GridView right in your console: Introducing the early preview of ConsoleGuiTools
Mar 6, 2020
Post comments count 2
Post likes count 1

A new kind of GridView right in your console: Introducing the early preview of ConsoleGuiTools

Tyler Leonhardt
Tyler Leonhardt

Yes. This is yet another post about GridViews. We love them. You love them. What's not to like? If you're not familiar with , it can be used to interactively view objects as a table allowing sorting and filtering. Many PowerShell users like to use it within a pipeline for interactive selection of objects that get processed later in the pipeline. Let's recap where we're at with respect to GridViews: Today, I have the exciting opportunity to talk about a new . Introducing the module now in Preview The is a module that will contain a set of cmdlets that enable console-based GUIs. Today...

Visual Studio Code for PowerShell 7
Mar 5, 2020
Post comments count 3
Post likes count 0

Visual Studio Code for PowerShell 7

Sydney Smith
Sydney Smith

We are excited to announce that we have released a major update to the PowerShell extension for Visual Studio Code. This release contains months of architectural work that first shipped in our PowerShell Preview extension in November of 2019, along with incremental bug fixes in the intervening months. If you are new to Visual Studio Code this article is helpful for getting started. If you already use Visual Studio Code with the PowerShell extension, read on to find out what is new. What's new ISE Compatibility Module We took the documentation from our "How to replicate the ISE experience in Visual Studio C...

Announcing PowerShell 7.0
Mar 4, 2020
Post comments count 31
Post likes count 1

Announcing PowerShell 7.0

Joey Aiello
Joey Aiello

Today, we're happy to announce the Generally Available (GA) release of PowerShell 7.0! Before anything else, we'd like to thank our many, many open-source contributors for making this release possible by submitting code, tests, documentation, and issue feedback. PowerShell 7 would not have been possible without your help. What is PowerShell 7? For those unfamiliar, PowerShell 7 is the latest major update to PowerShell, a cross-platform (Windows, Linux, and macOS) automation tool and configuration framework optimized for dealing with structured data (e.g. JSON, CSV, XML, etc.), REST APIs, and object models. ...

Secrets Management Module Vault Extensions
Feb 6, 2020
Post comments count 1
Post likes count 0

Secrets Management Module Vault Extensions

Paul Higinbotham
Paul Higinbotham

Secrets Management Module Vault Extensions A new PowerShell Secrets Management module has been published on PowerShell Gallery. It is currently in a pre-release state and still in active development. Even though the module is not complete, we have released it to gather early community feedback. Most of the functionality is implemented, but currently the module only works on Windows with Linux support coming next, followed by macOS. This article describes the Secrets Management module in general, but is mostly about how vault extensions work. For a full overview of Secrets Management see this article. The Sec...

Public Preview of PowerShell Support in Jupyter Notebooks
Feb 6, 2020
Post comments count 3
Post likes count 0

Public Preview of PowerShell Support in Jupyter Notebooks

Tyler Leonhardt
Tyler Leonhardt

Public Preview of PowerShell Support in Jupyter Notebooks Today, the .NET team shipped an exciting new preview of .NET Interactive. If you're unfamiliar, .NET Interactive (within a Jupyter environment) provides the ability to write .NET Jupyter Notebooks which are a powerful tool that combines documentation and the ability to execute and see the output of code all in the same file. It's especially exciting to us because it includes a preview of PowerShell support! NOTE: We want to be super clear. This is an early preview which has the main goal of getting early feedback from real usage so we can make infor...

Secrets Management Development Release
Feb 6, 2020
Post comments count 5
Post likes count 0

Secrets Management Development Release

Sydney Smith
Sydney Smith

Secrets Management Development Release At Ignite 2019 we gave a preview of our PowerShell Secrets Management Module. This Secrets Management module, first proposed in RFC #234, creates an extensible abstraction layer in PowerShell for interacting with Secrets and Secrets Vaults. We are excited to publish a development release of this module to the PowerShell Gallery to get feedback on the cmdlet interface and to enable an iterative development experience. While the current release of this module is Windows only, we plan to support Linux, and eventually MacOS, in coming releases. We made the decision to publish...

Announcing the PowerShell 7.0 Release Candidate
Dec 16, 2019
Post comments count 4
Post likes count 0

Announcing the PowerShell 7.0 Release Candidate

Joey Aiello
Joey Aiello

After 6 previews, we're happy to announce the release of the PowerShell 7 Release Candidate (RC). Whether you've been running PowerShell Core since our first alpha releases or you've been clinging to Windows PowerShell for backwards compatibility, 7.0 delivers a host of improvements to make your life better. This is a "go live" release, which means that it is officially supported in production until the release of PowerShell 7 General Availability (GA) next month. (Note: we reserve the right to move this day if any significant issues arise that require us to ship an RC2.) We hope this encourages more folks...

Improvements in Windows PowerShell Container Images
Dec 9, 2019
Post comments count 3
Post likes count 0

Improvements in Windows PowerShell Container Images

Joey Aiello
Joey Aiello

Beginning with Windows Server 20H1 Insider builds, Windows Server Core Insider images have been reduced in size from ~2.1 GBs to ~1.1 GBs. How did the Server Core images get over 40% smaller? Traditionally, Windows 10 and Windows Server have always included a set of .NET native binaries that were pre-compiled using the Native Image Generator tool (Ngen.exe). This native pre-compilation makes these binaries faster on default installations of the OS, but it also makes the image size grow: managed/IL .NET binaries are typically smaller and slower initially (until JIT compilation happens) than their native coun...

PowerShell 7 Preview 6
Nov 21, 2019
Post comments count 7
Post likes count 0

PowerShell 7 Preview 6

Steve Lee
Steve Lee

Today we shipped PowerShell 7 Preview.6! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. See the Release Notes for all the details of what is included in this release. This will be the last preview release as we head towards a Release Candidate in December. For the Release Candidate, there will be no more new features although small changes to cmdlets may still be accepted depending on risk of the change. Bug fixes will still be accepted but also accessed for their risk of causing a regression. Finally, we expect General Availability...

PowerShell Extension Roadmap
Nov 4, 2019
Post comments count 3
Post likes count 0

PowerShell Extension Roadmap

Sydney Smith
Sydney Smith

Over the last year we have committed to making the PowerShell editing experience in Visual Studio Code a rich and productive cross-platform alternative for the PowerShell ISE. To that end, we have focused on two primary areas: bringing the PSReadLine experience to the Integrated Console, and improving the stability of the extension while editing and debugging. The goal of this blog post is to walk through how we have made efforts in these key areas, and what our next steps are to follow through on these efforts. Investments in the reliability of PowerShell in Visual Studio Code Our number one user request f...

DSC Resource Kit Release October 2019
Oct 30, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release October 2019

Michael Greene
Michael Greene

This release includes updates to 9 DSC resource modules. In the past 6 weeks, 91 pull requests have been merged and 41 issues have been closed, all thanks to our amazing community!

PowerShell 7 Preview 5
Oct 23, 2019
Post comments count 12
Post likes count 0

PowerShell 7 Preview 5

Steve Lee
Steve Lee

Today we shipped PowerShell 7 Preview5! This release contains a number of new features and many bug fixes from both the community as well as the PowerShell team. See the Release Notes for all the details of what is included in this release. We are still on track to have one more preview release next month in November. Then, barring any quality concerns, a Release Candidate in December aligned with the .NET Core 3.1 final release. Finally, we expect General Availability of PowerShell 7 in January as our first Long Term Servicing release. Between the Release Candidate and General Availability, we will onl...

DSC Resource Kit Release September 2019
Sep 19, 2019
Post comments count 1
Post likes count 0

DSC Resource Kit Release September 2019

Michael Greene
Michael Greene

We just released the DSC Resource Kit! This release includes updates to 15 DSC resource modules. In the past 6 weeks, 160 pull requests have been merged and 68 issues have been closed, all thanks to our amazing community!

PowerShell 7 Preview 4
Sep 19, 2019
Post comments count 4
Post likes count 0

PowerShell 7 Preview 4

Steve Lee
Steve Lee

We continue to make progress towards our PowerShell 7 release which currently is targeting December 2019 for a Release Candidate and January 2020 for General Availability and will be our first LTS (Long Term Servicing) release! Please see the previous blog post on Preview 3 for more details about LTS and also Windows PowerShell compatibility. Preview 4 contains a number of bug fixes, but also new features which I'll cover in this blog post. New Experimental Features in Preview 4 This is just a small part of the entire changelog. New experimental features in this preview from the community and also the...

Updating Help for older versions of PowerShell
Sep 17, 2019
Post comments count 3
Post likes count 0

Updating Help for older versions of PowerShell

Sean Wheeler
Sean Wheeler

UPDATE: We are now publishing updated help for PowerShell 5.1 and higher. See the announcement. PowerShell's Updatable Help system was introduced in PowerShell 3.0. It was designed to assure that you always have the newest help topics on your local computer so that you can read them at the command line. Help was updated with every new release and periodically between releases. For you, the end user, the  cmdlet makes it easy to download and install the latest version. However, you may have noticed that the updated help hasn't changed for a long time and does not match the documentation available on docs.microsof...

Release of PowerShell Script Analyzer (PSScriptAnalyzer) 1.18.2
Sep 10, 2019
Post comments count 6
Post likes count 0

Release of PowerShell Script Analyzer (PSScriptAnalyzer) 1.18.2

Jim Truher
Jim Truher

In keeping with the tradition of releasing improvements to  more often, we're happy to announce that 1.18.12 is now available! As a dependency of PowerShell Editor Services (a module used by editor extensions like the PowerShell Visual Studio Code extension), this release is motivated by a desire to further stabilize our editor experience. At the moment, the Visual Studio Code PowerShell extension still ships with PSScriptAnalyzer . After fixing some undesirable edge cases between  and , we intend to ship an update to the Visual Studio Code extension that will include . The blocking issue that it resolves is qui...

PowerShell ForEach-Object Parallel Feature
Sep 4, 2019
Post comments count 13
Post likes count 3

PowerShell ForEach-Object Parallel Feature

Paul Higinbotham
Paul Higinbotham

PowerShell ForEach-Object Parallel Feature PowerShell 7.0 Preview 3 is now available with a new Experimental feature. This feature is a great new tool for parallelizing work, but like any tool, it has its uses and drawbacks. This article describes this new feature, how it works, when to use it and when not to. What is ForEach-Object -Parallel? is a new parameter set added to the existing PowerShell ForEach cmdlet. Normally, when you use the cmdlet, each object piped to the cmdlet is processed sequentially. But with the new parameter set, you can run all script in parallel for each piped ...

New Telemetry in PowerShell 7 Preview 3
Aug 20, 2019
Post comments count 4
Post likes count 0

New Telemetry in PowerShell 7 Preview 3

Sydney Smith
Sydney Smith

Beginning in PowerShell 7 Preview 3, PowerShell will be sending some additional data points to Microsoft. This data will allow us to better understand usage of PowerShell and enable us to prioritize our future investments. These additional points of data were reviewed with the PowerShell community and approved by the PowerShell Committee through the PowerShell RFC process. What we added We will continue to use Application Insights to collect the following new telemetry points: We will continue to share portions of our aggregated data with the PowerShell community through the Public PowerBi report. Wh...

PowerShell 7 Preview 3
Aug 20, 2019
Post comments count 7
Post likes count 0

PowerShell 7 Preview 3

Steve Lee
Steve Lee

PowerShell 7 Preview 3 In May, we published our PowerShell 7 Roadmap. We have been making progress on our roadmap and are currently on track to have a Generally Available (GA) release by end of this calendar year. Long Term Servicing PowerShell 7 GA will also be our first Long Term Servicing (LTS) release which is a change from our current Modern Lifecycle support for PowerShell Core 6. We will support PowerShell 7 GA for as long as .NET Core 3.1 is supported before you must upgrade to a newer version to continue to be supported by Microsoft. Windows PowerShell compatibility One of the main goals of Power...

Out-GridView Returns
Aug 14, 2019
Post comments count 5
Post likes count 0

Out-GridView Returns

Jack Zeiders
Jack Zeiders

Out-GridView Returns! It's been almost 3 years since PowerShell Core debuted for Linux and Mac, and as we've increased our cmdlet coverage more and more, one cmdlet has always stood out as a top, cross-platform request. Today, we are excited to announce that is debuting on all Core-supported platforms through the GraphicalTools Module. Installation If you want to get right to it: Features Out-GridView is a visualization tool to help you deep dive into objects returned from PowerShell. Piping Get-Process into Out-GridView Quick Search Easily locate data points matching a query. Filters Disp...

DSC Resource Kit Release July 2019
Aug 7, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release July 2019

Michael Greene
Michael Greene

We just released the DSC Resource Kit! This release includes updates to 11 DSC resource modules. In the past 6 weeks, 96 pull requests have been merged and 45 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, July 31. A recording of the call is posted on the PowerShell YouTube channel. You can join us for the next...

Introducing PowerShell as .NET Global Tool
Jul 18, 2019
Post comments count 3
Post likes count 1

Introducing PowerShell as .NET Global Tool

Aditya Patwardhan
Aditya Patwardhan

PowerShell is very suitable for CI/CD scenarios due to its easy and well understood scripting paradigm, and its cross-platform support makes it great for building and testing cross-platform applications. A .NET Global Tool is a special NuGet package that contains a console application. A application can be developed for various platforms like Windows, various distributions of Linux and macOS, while the same PowerShell scripts can be used for building, testing and deployment across all platforms. Installing PowerShell Global tool If you already have the .NET Core SDK installed, it's easy to install Pow...

DSC Resource Kit Release June 2019
Jun 26, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release June 2019

Katie Kragenbrink [MSFT]
Katie Kragenbrink [MSFT]

We just released the DSC Resource Kit! This release includes updates to 8 DSC resource modules. In the past 6 weeks, 95 pull requests have been merged and 55 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, June 19. A recording of the call with be posted on the PowerShell YouTube channel soon. You can join us for the next ca...

Release of PowerShell Script Analyzer 1.18.1
Jun 13, 2019
Post comments count 0
Post likes count 0

Release of PowerShell Script Analyzer 1.18.1

Jim Truher
Jim Truher

Overview  ()  is now available on the PSGallery and fixes not only a lot of the issues reported for  but has also been made twice as faster compared to . Additionally, the  switch on has been improved to be platform agnostic and should now also work on Linux systems if DSC has been set up. A long standing concurrency bug related to analysing module manifest has also been fixed. Analysis showed that  is not thread-safe due to a bug either in the cmdlet or in the PowerShell engine itself, we resolved it by having a lock around calls to this cmdlet. Formatter Fixes This applies especially to its usage within th...

DSC Planning Update – June 2019
Jun 7, 2019
Post comments count 13
Post likes count 0

DSC Planning Update – June 2019

Michael Greene
Michael Greene

It has been almost a year since the last DSC Planning update. There has been a lot going on, many decisions being made, and it just didn’t make sense to post earlier in this calendar year. In this post we will review what has been shipped and the high-level direction we are heading. 

Azure Policy Guest Configuration – Service
Jun 7, 2019
Post comments count 0
Post likes count 0

Azure Policy Guest Configuration – Service

Michael Greene
Michael Greene

This post builds upon the introduction published yesterday to the PowerShell blog. In this post we are going to explore the Azure Policy Guest Configuration service. 

Azure Policy Guest Configuration – Client
Jun 7, 2019
Post comments count 2
Post likes count 0

Azure Policy Guest Configuration – Client

Michael Greene
Michael Greene

This post builds upon the introduction published earlier to the PowerShell blog. In this post we are going to explore the Azure Policy Guest Configuration client and how configuration content is consumed. 

Using PowerShellGet with Azure Artifacts
Jun 4, 2019
Post comments count 9
Post likes count 0

Using PowerShellGet with Azure Artifacts

Sydney Smith
Sydney Smith

We have improved the experience with PowerShellGet and private NuGet feeds by focusing on pain points using an Azure Artifacts feed. We addressed pain points by enabling/documenting the following features: These improvements will effect the following cmdlets: What is Azure Artifacts and Why would I use it? Azure Artifacts is an Azure DevOps service which introduces the concept of multiple feeds that you can use to organize and control access to your packages. In other words it is a place for storing and sharing packages with controlled access through Azure DevOp...

PowerShell 7 Roadmap
May 30, 2019
Post comments count 11
Post likes count 0

PowerShell 7 Roadmap

Steve Lee
Steve Lee

Last month we announced that PowerShell 7 will be the next release of PowerShell. Here I will provide more details of areas we'll be investing in for the PowerShell 7 release. When will I get it?! Today, we're releasing our first preview of PowerShell 7. Keeping with our monthly cadence, expect new preview releases approximately every month. This first preview contains some of the changes that didn't make it in time for the 6.2 GA release, and marks our move to .NET Core 3.0. For more details on what's new, check out our changelog on GitHub. As mentioned in the PowerShell 7 announcement blog, we wi...

DSC Resource Kit Release May 2019
May 15, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release May 2019

Katie Kragenbrink [MSFT]
Katie Kragenbrink [MSFT]

We just released the DSC Resource Kit! This release includes updates to 14 DSC resource modules. In the past 6 weeks, 87 pull requests have been merged and 36 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, May 8. A recording of the call is available here. You can join us for the next call at 12PM (Paci...

Public Preview of PowerShell in Azure Functions 2.x
Apr 29, 2019
Post comments count 1
Post likes count 0

Public Preview of PowerShell in Azure Functions 2.x

Joey Aiello
Joey Aiello

Over the last six months, we've been hard at work integrating PowerShell Core with Azure Functions 2.x. Today, I'm happy to announce that we're releasing public preview of PowerShell support for Azure Functions 2.x for Windows (Consumption, Premium, and App Service pricing plans). I already know I want this, give me the good stuff! Learn how to create your first PowerShell function in Azure Functions, or dive right into the Azure Functions PowerShell developer guide. What's Azure Functions? For those that haven't experienced the joy of using Azure Functions yet, it's an event-based serverless platform tha...

Using PSScriptAnalyzer to check PowerShell version compatibility
Apr 18, 2019
Post comments count 4
Post likes count 0

Using PSScriptAnalyzer to check PowerShell version compatibility

Robert Holt
Robert Holt

PSScriptAnalyzer version 1.18 was released recently, and ships with powerful new rules that can check PowerShell scripts for incompatibilities with other PowerShell versions and environments. In this blog post, the first in a series, we'll see how to use these new rules to check a script for problems running on PowerShell 3, 5.1 and 6. Wait, what's PSScriptAnalyzer? PSScriptAnalzyer is a module providing static analysis, or linting, and some dynamic analysis (based on the state of your environment) for PowerShell. It's able to find problems and fix bad habits in PowerShell scripts as you create them, simil...

PowerShell Core Release Improvements
Apr 5, 2019
Post comments count 7
Post likes count 0

PowerShell Core Release Improvements

Travis Plunk
Travis Plunk

For PowerShell Core, we basically had to build a new engineering system to build and release it. How we build it has evolved over time as we learn and our other teams have implemented features that make some tasks easier. We are finally at a state that we believe we can engineer a system that builds PowerShell Core for release with as little human interaction as necessary.

The Next Release of PowerShell – PowerShell 7
Apr 5, 2019
Post comments count 31
Post likes count 0

The Next Release of PowerShell – PowerShell 7

Steve Lee
Steve Lee

Recently, the PowerShell Team shipped the Generally Available (GA) release of PowerShell Core 6.2. Since that release, we've already begun work on the next iteration! We're calling the next release , the reasons for which will be explained in this blog post. Why 7 and not 6.3? PowerShell Core usage has grown significantly in the last two years. In particular, the bulk of our growth has come from Linux usage, an encouraging statistic given our investment in making PowerShell viable cross-platform.  This chart represents the number of times pwsh.exe (or just pwsh on Linux/macOS) was started (unless telemet...

DSC Resource Kit Release April 2019
Apr 3, 2019
Post comments count 2
Post likes count 0

DSC Resource Kit Release April 2019

Katie Kragenbrink [MSFT]
Katie Kragenbrink [MSFT]

We just released the DSC Resource Kit! This release includes updates to 13 DSC resource modules. In the past 6 weeks, 87 pull requests have been merged and 90 issues have been closed, all thanks to our amazing community! The modules updated in this release are: xWebAdministration is also in the pipeline for release as soon as it passes all tests. For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, March 27...

The PowerShell Gallery is now more Accessible
Apr 1, 2019
Post comments count 1
Post likes count 0

The PowerShell Gallery is now more Accessible

Sydney Smith
Sydney Smith

Over the past few months, the team has been working hard to make the PowerShell Gallery as accessible as possible. This blog details why it matters and what work has been done. Why making the PowerShell Gallery more accessible was a priority Accessible products change lives and allow everyone to be included in our product. Accessibility is also a major component of striving toward Microsoft's mission to "Empower every person and every organization on the planet to achieve more." Improvements in accessibility mean improvements in usability which makes the experience better for everyone. In doing accessibility te...

LiveFyre commenting will no longer be available on the PowerShell Gallery
Mar 29, 2019
Post comments count 3
Post likes count 0

LiveFyre commenting will no longer be available on the PowerShell Gallery

Sydney Smith
Sydney Smith

Commenting on the PowerShell Gallery is provided by LiveFyre--a third-party comment system. LiveFyre is no longer supported by Adobe and therefore we are unable to service issues as they arise. We have gotten reports of authentication failing for Twitter and Microsoft AAD and unfortunately we are unable to bring back those services. As we cannot predict when more issues will occur, and we cannot fix issues as they arise we must depreciate use of LiveFyre on the PowerShell Gallery. As of May 1st 2019 LiveFyre commenting will no longer be available on the PowerShell Gallery. Unfortunately we are unable to migra...

General Availability of PowerShell Core 6.2
Mar 28, 2019
Post comments count 3
Post likes count 0

General Availability of PowerShell Core 6.2

Steve Lee
Steve Lee

We're proud to announce that the latest version of PowerShell has been released! This is the third minor supported release of PowerShell Core, the open-source edition of PowerShell that works on Linux, macOS, and Windows! Thanks to everyone that made this release possible, including our contributors, users, and anyone who filed issues and submitted feedback. So How Do I Install It? For info on installing PowerShell Core 6.2, check our installation docs. A reminder that PowerShell Core works side-by-side with Windows PowerShell, so you can use both independently of each other. This means that you c...

PowerShell ScriptAnalyzer Version 1.18.0 Released
Mar 22, 2019
Post comments count 2
Post likes count 0

PowerShell ScriptAnalyzer Version 1.18.0 Released

Jim Truher
Jim Truher

 ()  is now available on the PSGallery and brings a lot of improvements in the following areas: There are some minor breaking changes such as e.g. requiring the minimum version of PowerShell Core to 6.1 as 6.0 has reached the end of its support lifecycle. With this, it was possible to update the used version of  to . On Windows PowerShell, the minimum required runtime was upped from to, which is the lowest version that is still supported by Microsoft but Windows update will have taken care of upgrading the to this patched version anyway, therefore no disruption is ...

The PowerShell Extension is now in the Azure Data Studio Marketplace
Mar 18, 2019
Post comments count 0
Post likes count 0

The PowerShell Extension is now in the Azure Data Studio Marketplace

Sydney Smith
Sydney Smith

We are excited to announce the PowerShell Extension is available in the Azure Data Studio (ADS) marketplace! Now you can write PowerShell scripts with the full benefits of PowerShell Editor Services using the excellent IDE-like interface that Azure Data Studio provides. Key Features this Brings to PowerShell Editing in Azure Data Studio How to get the PowerShell extension in Azure Data Studio If you don't already have Azure Data Studio, start here. Once you have Azure Data Studio open, click to open the extensions marketplace. Next, type in the search ba...

Invoke-Sqlcmd is Now Available Supporting Cross-Platform
Mar 11, 2019
Post comments count 0
Post likes count 0

Invoke-Sqlcmd is Now Available Supporting Cross-Platform

Steve Lee
Steve Lee

The official SqlServer module now includes a version of the Invoke-Sqlcmd cmdlet that runs in PSCore 6.2 and above. The version of the SqlServer module which contains this cmdlet is 21.1.18095-preview and is available in the PowerShell Gallery. In order to install this preview version of the module, you must run  (or  if you already have it installed) with the -AllowPrerelease. (Without that parameter you will receive the previous version of the module.) Why is Invoke-Sqlcmd Important Invoke-Sqlcmd is probably the most crucial cmdlet in the SQL PowerShell space because of its broad capabilities. This cmdlet h...

Generating PowerShell Cmdlets from OpenAPI/Swagger with AutoRest
Feb 22, 2019
Post comments count 0
Post likes count 1

Generating PowerShell Cmdlets from OpenAPI/Swagger with AutoRest

Garrett Serack, MSFT
Garrett Serack, MSFT

Announcing the availability of the beta version of our new PowerShell cmdlet generator for AutoRest.

DSC Resource Kit Release February 2019
Feb 20, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release February 2019

Katie Kragenbrink [MSFT]
Katie Kragenbrink [MSFT]

We just released the DSC Resource Kit! This release includes updates to 14 DSC resource modules. In the past 6 weeks, 126 pull requests have been merged and 102 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was last Wednesday, February 13. We were not able to record the call this time, apologies. We will fix this for ...

Parsing Text with PowerShell (3/3)
Jan 28, 2019
Post comments count 1
Post likes count 1

Parsing Text with PowerShell (3/3)

Steve Lee
Steve Lee

This is the third and final post in a three-part series. In the previous posts, we looked at the different operators what are available to us in PowerShell. When analyzing crashes at DICE, I noticed that some of the C++ runtime binaries where missing debug symbols. They should be available for download from Microsoft's public symbol server, and most versions were there. However, due to some process errors at DevDiv, some builds were released publicly without available debug symbols. In some cases, those missing symbols prevented us from debugging th...

Parsing Text with PowerShell (2/3)
Jan 24, 2019
Post comments count 0
Post likes count 1

Parsing Text with PowerShell (2/3)

Steve Lee
Steve Lee

This is the second post in a three-part series. The operator The operator splits one or more strings into substrings. The first example is a name-value pattern, which is a common parsing task. Note the usage of the Max-substrings parameter to the operator. We want to ensure that it doesn't matter if the value contains the character to split on. When the line to parse contains fields separated by a well known separator, that is never a part of the field values, we can use the operator in combination with multiple assignment to get the fields into v...

The PowerShell-Docs repositories have been moved
Jan 23, 2019
Post comments count 0
Post likes count 0

The PowerShell-Docs repositories have been moved

Sean Wheeler (PowerShell)
Sean Wheeler (PowerShell)

The PowerShell-Docs repositories have been moved from the PowerShell organization to the MicrosoftDocs organization in GitHub. The tools we use to build the documentation are designed to work in the MicrosoftDocs org. Moving the repository lets us build the foundation for future improvements in our documentation experience. Impact of the move During the move there may be some downtime. The affected repositories will be inaccessible during the move process. Also, the documentation processes will be paused. After the move, we need to test access permissions and automation scripts.After these tasks are comp...

Announcing the PowerShell Preview Extension in VSCode
Jan 23, 2019
Post comments count 0
Post likes count 0

Announcing the PowerShell Preview Extension in VSCode

Sydney Smith [MSFT]
Sydney Smith [MSFT]

Preview builds of the PowerShell extension are now available in VSCode We are excited to announce the PowerShell Preview extension in the VSCode marketplace! The PowerShell Preview extension allows users on Windows PowerShell 5.1, Powershell 6.0, and all newer versions to get and test the latest updates to the PowerShell extension and comes with some exciting features. The PowerShell Preview extension is a substitute for the PowerShell extension so both the PowerShell extension and the PowerShell Preview extension should not be enabled at the same time. Features of the PowerShell Preview extension The PowerSh...

Parsing Text with PowerShell (1/3)
Jan 18, 2019
Post comments count 2
Post likes count 3

Parsing Text with PowerShell (1/3)

Steve Lee
Steve Lee

This is the first post in a three part series. A task that appears regularly in my workflow is text parsing. It may be about getting a token from a single line of text or about turning the text output of native tools into structured objects so I can leverage the power of PowerShell. I always strive to create structure as early as I can in the pipeline, so that later on I can reason about the content as properties on objects instead of as text at some offset in a string. This also helps with sorting, since the properties can have their correct type, so that n...

Windows Security change affecting PowerShell
Jan 10, 2019
Post comments count 0
Post likes count 0

Windows Security change affecting PowerShell

PowerShell Team
PowerShell Team

Windows Security change affecting PowerShell January 9, 2019 The recent (1/8/2019) Windows security patch CVE-2019-0543, has introduced a breaking change for a PowerShell remoting scenario. It is a narrowly scoped scenario that should have low impact for most users. The breaking change only affects local loopback remoting, which is a PowerShell remote connection made back to the same machine, while using non-Administrator credentials. PowerShell remoting endpoints do not allow access to non-Administrator accounts by default. However, it is possible to modify endpoint configurations, or create new cust...

DSC Resource Kit Release January 2019
Jan 9, 2019
Post comments count 0
Post likes count 0

DSC Resource Kit Release January 2019

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 14 DSC resource modules. In the past 6 weeks, 41 pull requests have been merged and 54 issues have been closed, all thanks to our amazing community! The modules updated in this release are: Several of these modules were released to remove the hidden files/folders from this issue. This issue should now be fixed for all modules except DFSDsc which is waiting for some fixes to its tests. For a detailed list of the resource modules and fixes in this release, see the Include...

DSC Resource Kit Release November 2018
Nov 28, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release November 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 9 DSC resource modules. In the past 6 weeks, 61 pull requests have been merged and 67 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our latest community call for the DSC Resource Kit was supposed to be today, November 28, but the public link to the call expired, so the call was cancelled. I will update the link for n...

PowerShell Constrained Language mode and the Dot-Source Operator
Nov 26, 2018
Post comments count 0
Post likes count 0

PowerShell Constrained Language mode and the Dot-Source Operator

PowerShell Team
PowerShell Team

PowerShell Constrained Language mode and the Dot-Source Operator PowerShell works with application control systems, such as AppLocker and Windows Defender Application Control (WDAC), by automatically running in ConstrainedLanguage mode. ConstrainedLanguage mode restricts some exploitable aspects of PowerShell while still giving you a rich shell to run commands and scripts in. This is different from usual application white listing rules, where an application is either allowed to run or not. But there are times when the full power of PowerShell is needed, so we allow script files to run in FullLanguage mode ...

Announcing General Availability of the Windows Compatibility Module 1.0.0
Nov 15, 2018
Post comments count 0
Post likes count 0

Announcing General Availability of the Windows Compatibility Module 1.0.0

Bruce Payette
Bruce Payette

Announcing General Availability of the Windows Compatibility Module 1.0.0 The Windows Compatibility module () is a PowerShell module that lets PowerShell Core 6 scripts access Windows PowerShell modules that are not yet natively available on PowerShell Core. (Note: the list of unavailable commands is getting smaller with each new release of PowerShell Core. This module is just for things aren’t natively supported yet.) You can install the module from the PowerShell Gallery using the command and the source code is available on GitHub. (This is where you should open issues or make suggestions.) Once y...

DSC Resource Kit Release October 2018
Oct 25, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release October 2018

PowerShell Team
PowerShell Team

We just released the DSC Resource Kit! This release includes updates to 9 DSC resource modules. In the past 6 weeks, 126 pull requests have been merged and 79 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. xPSDesiredStateConfiguration is also in the pipeline for a release, but the xArchive resource is failing its tests, so that module is currently on hold and will be released when all the...

Announcing PowerShell Core 6.1
Sep 13, 2018
Post comments count 0
Post likes count 0

Announcing PowerShell Core 6.1

Joey Aiello
Joey Aiello

We're proud to announce that the latest version of PowerShell has been released! This marks our second <a href="https://aka.ms/pslifecycle" rel="nofollow">supported</a> release of <a href="https://github.com/powershell/powershell">PowerShell Core</a>, the open-source edition of PowerShell that works on Linux, macOS, and Windows!

Desired State Configuration (DSC) Planning Update – September 2018
Sep 13, 2018
Post comments count 0
Post likes count 0

Desired State Configuration (DSC) Planning Update – September 2018

Michael Greene
Michael Greene

2018 has been the most active year ever for the DSC community. We are taking on major new areas of work in Azure, and have made significant progress in development of the new DSC platform. In this Planning Update for DSC, I want to cover these topics in detail and share major changes to the timing of our Open Source plans for the DSC platform.

New Look and Features for PowerShell Gallery
Sep 12, 2018
Post comments count 0
Post likes count 0

New Look and Features for PowerShell Gallery

PowerShell Team
PowerShell Team

The PowerShell Gallery and PowerShellGet have just been updated to provide new features, performance improvements, and a new modern design. NOTE: This post has important information for publishers in the “Accounts and publishing” section.

DSC Resource Kit Release September 2018
Sep 5, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release September 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 11 DSC resource modules. In the past 6 weeks, 146 pull requests have been merged and 105 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was on August 29. A recording of our updates will be available on YouTube soon. Join us for the next call at 12PM (Pacific tim...

PowerShell Module Function Export in Constrained Language
Aug 14, 2018
Post comments count 1
Post likes count 0

PowerShell Module Function Export in Constrained Language

PowerShell Team
PowerShell Team

PowerShell Module Exporting Functions in Constrained Language PowerShell offers a number of ways to expose functions in a script module. But some options have serious performance or security drawbacks. In this blog I describe these issues and provide simple guidance for creating performant and secure script modules. Look for a module soon in PSGallery that helps you update your modules to be compliant with this guidance. When PowerShell is running in Constrained Language mode it adds some restrictions in how module functions can be exported. Normally, when PowerShell is not running in Constrained Language, all ...

PowerShell Standard Library: Build single module that works across Windows PowerShell and PowerShell Core
Aug 6, 2018
Post comments count 4
Post likes count 0

PowerShell Standard Library: Build single module that works across Windows PowerShell and PowerShell Core

Steve Lee
Steve Lee

This is the first of a series of blog posts that will help you take advantage of a new NuGet package PowerShellStandard Library 5.1.0. This package allows developers to create modules that are portable between Windows PowerShell 5.1 and PowerShell Core 6.0. This means that you can create PowerShell modules that run on Windows, Linux, and macOS with a single binary! The version of PowerShell Standard Library indicates the lowest version of PowerShell that it is compatible with. The community promise is that it is always forward compatible. So a module built against PowerShell Standard Library v3 is compatible w...

PowerShell Injection Hunter: Security Auditing for PowerShell Scripts
Aug 3, 2018
Post comments count 0
Post likes count 0

PowerShell Injection Hunter: Security Auditing for PowerShell Scripts

PowerShell Team
PowerShell Team

At the DEFCON security conference last year, we presented the session: "<a href="https://www.youtube.com/watch?v=ahxMOAAani8">Get $pwnd: Attacking Battle Hardened Windows Server</a>". In this talk, we went through some of the incredibly powerful ways that administrators can secure their high-value systems (for example, Just Enough Administration) and also dove into some of the mistakes that administrators sometimes make when exposing their PowerShell code to an attacker. The most common form of mistake is script injection, where a script author takes a parameter value (supplied by an attacker) and runs it in a...

Increased Windows Modules coverage with PowerShell Core 6.1
Jul 31, 2018
Post comments count 0
Post likes count 0

Increased Windows Modules coverage with PowerShell Core 6.1

Steve Lee
Steve Lee

During the May 2018 Community Call and a tweet a few weeks later, we mentioned that PowerShell team was spending significant time in the Windows codebase. We even demoed using the Active Directory PowerShell Module from PowerShell Core 6 during the PowerShell Community Call. We started investigating some of the top requested modules that ship with Windows to see how to get them working in PowerShell Core 6. Our eventual goal is to have near 100% parity with Windows PowerShell for the in-box modules, but we expect this effort to span across multiple releases of Windows as there are many modules and PowerShell tea...

DSC Resource Kit Release July 2018
Jul 25, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release July 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 12 DSC resource modules. In the past 6 weeks, 128 pull requests have been merged and 90 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was on July 18. A recording of our updates will be available on YouTube soon. Join us for the next call at 12PM (Pacific ti...

PowerShell Core now available as a Snap package
Jul 20, 2018
Post comments count 0
Post likes count 1

PowerShell Core now available as a Snap package

Joey Aiello
Joey Aiello

The goal of PowerShell Core is to be the ubiquitous language for managing your assets in the hybrid cloud. That's why we've worked to make it available on many operating systems, architectures, and flavors of Linux, macOS, and Windows as possible. Today, we're happy to announce an addition to our support matrix: PowerShell Core is now available as a Snap package. What's a Snap package? Snap packages are containerized applications that can be installed on many Linux distributions. For more info, check out Canonical's blog on our Snap announcement. What does this do for me? Snap packages have a number of benefit...

PowerShell Script Analyzer 1.17.1 Released!
Jun 14, 2018
Post comments count 0
Post likes count 0

PowerShell Script Analyzer 1.17.1 Released!

James.W.Truher
James.W.Truher

Summary: A new version of PSScriptAnalyzer is now available with many new features, rules, fixes and improvements. You might remember me from my previous cross-platform remoting blog post, but just to introduce myself: I am Christoph Bergmeister, a full stack .Net developer in the London area and since the start of this year I am now also an official PSScriptAnalyzer maintainer although I do not work at Microsoft. On GitHub, you can find me as @bergmeister. After half a year, a new version of PSScriptAnalyzer (also known as PSSA) has been published and is now available on the PSGallery. Some of you might have b...

DSC Resource Kit Release June 2018
Jun 13, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release June 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This is our biggest release yet! It takes the records for the most merged pull requests in a release and the most modules we have ever released at once from GitHub! This release includes updates to 27 DSC resource modules. In the past 6 weeks, 165 pull requests have been merged and 115 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release...

DSC Resource Kit Release May 2018
May 2, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release May 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 12 DSC resource modules. In these past 6 weeks, 52 pull requests have been merged and 63 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was on April 25. A recording of our updates will be available on YouTube soon. Join us for the next call at 12PM (Pacific time) on June 6 to ask ...

Windows Pull Server Planning Update – April 2018
Apr 19, 2018
Post comments count 0
Post likes count 0

Windows Pull Server Planning Update – April 2018

Michael Greene
Michael Greene

In the next Current Branch release of Windows Server a new feature will be released to provide support for SQL Server as the database platform to support Windows Pull Server for DSC. This capability will open new scenarios: If you are a member of Windows Server Insiders you can test this now by downloading a preview build. If you are unfamiliar with the pull service role for DSC, the documentation page has been updated with details regarding how to setup Windows Pull Server environments using the latest versions of the xDSCWebService resource. The key changes are introduction of properties SQLPro...

DSC Resource Kit Release March 2018
Mar 21, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release March 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 7 DSC resource modules. In these past 6 weeks, 43 pull requests have been merged and 37 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was on March 14. A recording of our updates will be available on YouTube soon. Join us for the next call at 12PM (Pacific time) on April 25 to ask questions and ...

DSC Resource Kit Release February 2018
Feb 7, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release February 2018

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 12 DSC resource modules. In these past 7 weeks, 83 pull requests have been merged and 70 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was on January 31. A recording of our updates is coming soon. Join us for the next call at 12PM (Pacific time) on March 14 to ask q...

Desired State Configuration (DSC) Planning Update – January 2018
Jan 26, 2018
Post comments count 0
Post likes count 0

Desired State Configuration (DSC) Planning Update – January 2018

Michael Greene
Michael Greene

In September 2017 we communicated some of our plans for PowerShell Desired State Configuration (DSC). Over the past few months, we have been executing on these plans and collecting feedback from customers and partners. The intent of this blog is to provide an update on the plans we shared back in September. I will have additional posts in the near future to discuss updates for Azure DSC Extension and Windows Pull Server. Specifically: We appreciate the continued feedback and look forward to working with the DSC community to make incremental improvements as we progress together. What Are We Tr...

PowerShell Core 6.1 Roadmap
Jan 24, 2018
Post comments count 0
Post likes count 0

PowerShell Core 6.1 Roadmap

Steve Lee
Steve Lee

The release of PowerShell Core 6.0 is only the beginning and we are already thinking about the next leg of our journey. Most of the effort of the team with PowerShell Core 6.0 was in these areas: The community did some amazing work to add new capabilities in both the engine as well as cmdlets! If you participated in the January 2018 Community Call you already got an early preview of this content. Timeline First, we're publishing PowerShell Core 6.0.1 as a servicing release by the end of January in order to update to .NET Core 2.0.5.  There are no other changes in the 6.0.1 release. After that, th...

PowerShell Core 6.0: Generally Available (GA) and Supported!
Jan 10, 2018
Post comments count 0
Post likes count 0

PowerShell Core 6.0: Generally Available (GA) and Supported!

Joey Aiello
Joey Aiello

PowerShell Core 6.0 is a new edition of PowerShell that is cross-platform (Windows, macOS, and Linux), open-source, and built for heterogeneous environments and the hybrid cloud. First and foremost, thank you to all of our amazing community, especially our open-source contributors (the most recent of which you can find on our community dashboard at https://aka.ms/PSGitHubBI) for donating your time and energy to PowerShell Core. Whether you contributed code, tests, documentation, issues, or even just your feedback and opinions, we are extremely grateful for the sweat and tears that you've invested in PowerShell...

DSC Resource Kit Release December 2017
Dec 20, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release December 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 16 DSC resource modules. In these past 5 weeks, 68 pull requests have been merged and 59 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was today on December 20. A recording of our updates as well as summarizing notes will be available soon. ...

Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709
Dec 15, 2017
Post comments count 6
Post likes count 0

Using the OpenSSH Beta in Windows 10 Fall Creators Update and Windows Server 1709

Joey Aiello
Joey Aiello

I'm thrilled to share that a Beta OpenSSH client and server daemon are available as a Feature-on-Demand in Windows 10 Fall Creators Update and Windows Server 1709. Since our last update blog, we've been working hard on a Win32 port of OpenSSH and working closely with members of the OpenSSH Portable and OpenBSD projects with the eventual goal of bringing Win32 support upstream into OpenSSH Portable. Until then, you should expect OpenSSH support in Windows to continue to improve in future updates of Windows, including upcoming Windows Insider builds. You can track our progress on GitHub where you can find ou...

DSC Resource Naming Guidelines
Dec 8, 2017
Post comments count 0
Post likes count 0

DSC Resource Naming Guidelines

Michael Greene
Michael Greene

When DSC was announced at TechEd 2013, one of the goals was to "Create an ecosystem". The ecosystem for DSC has grown tremendously in the last 4 years. At worldwide events for PowerShell (PowerShell + DevOps Global Summit, PowerShell Conference EU, PowerShell Conference Asia) there have been presentations lead by people actively using DSC to discuss real world, success, challenges, and community projects to resolve common issues. In addition there are community projects to build solutions for DSC entirely driven by the community, such as Datum to manage configuration data at scale, BaselineManagement to...

Prerelease Versioning Added to PowerShellGet and PowerShell Gallery
Dec 5, 2017
Post comments count 1
Post likes count 0

Prerelease Versioning Added to PowerShellGet and PowerShell Gallery

J. Keith Bankston
J. Keith Bankston

With the release of PowerShellGet 1.6.0, PowerShellGet cmdlets and the PowerShell Gallery have added support for prerelease strings for prerelease versions of modules and scripts. You can now publish items to the PowerShell Gallery with a version like 1.0.0-alpha, and you can download items identified as a prerelease. Items can be filtered using prerelease version strings, in both the Gallery UI and via Find-* cmdlets. Before this feature, if publishers wished to publish a prerelease version of an item, they had to use a version lower than 1.0.0 (ex. 0.0.1). This meant it was not possible to publish a prerelea...

PowerShell Core 6 Release Candidate
Nov 17, 2017
Post comments count 0
Post likes count 0

PowerShell Core 6 Release Candidate

Steve Lee
Steve Lee

PowerShell Core 6 Release Candidate Last year, we announced that PowerShell was not only Open Source, but also cross platform.  The finish line is in sight and we recently published the Release Candidate for PowerShell Core 6! PowerShell Team ♥ Community It has been an amazing experience for the team working with the community on PowerShell Core 6!  Being able to work openly and transparently meant that we could address customer concerns much more quickly than in the days of Windows PowerShell.  The contributions from the community have also enabled PowerShell Core 6 to be more agile and richer in capability, par...

DSC Resource Kit Release November 2017
Nov 15, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release November 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 10 DSC resource modules. In these past 6 weeks, 53 pull requests have been merged and 50 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was last week on Novemeber 8. A recording of our updates as well as summarizing notes will be available soon. Join us for the next...

Azure Automation DSC Pricing Flexibility
Nov 14, 2017
Post comments count 0
Post likes count 0

Azure Automation DSC Pricing Flexibility

Michael Greene
Michael Greene

Today we would like to share a new flexible pricing strategy for managing server nodes using Azure Automation to deliver PowerShell Desired State Configuration, giving you greater control over costs of managing on-premises nodes. As you might already know, Azure Automation DSC (Azure DSC) is a managed service that is free when used to manage virtual machines running in Microsoft Azure. This provides the functionality of the in-box DSC Pull server without needing to maintain a server to host the capability, plus a lot of additional features. Some of the goodies that you get with Azure DSC are as follows: Fea...

PowerShell Constrained Language Mode
Nov 2, 2017
Post comments count 3
Post likes count 0

PowerShell Constrained Language Mode

PowerShell Team
PowerShell Team

PowerShell Constrained Language Mode Update (May 17, 2018) In addition to the constraints listed in this article, system wide Constrained Language mode now also disables the ScheduledJob module. The ScheduledJob feature uses Dot Net serialization that is vulnerable to deserialization attacks. So now whenever an application whitelisting solution is applied such as DeviceGuard or AppLocker, PowerShell will run in Constrained Language mode and also disable the ScheduledJob module. Use the Windows Task Scheduler or PowerShell ScheduledTasks module as an alternative. For more information see CVE-2018-0958. What i...

Defending Against PowerShell Attacks
Oct 23, 2017
Post comments count 0
Post likes count 0

Defending Against PowerShell Attacks

PowerShell Team
PowerShell Team

[Updated Feb 20th, 2020 with latest guidance] The security industry is ablaze with news about how PowerShell is being used by both commodity malware and attackers alike. Surely there’s got to be a way to defend yourself against these attacks! There absolutely is. PowerShell is - by far - the most securable and security-transparent shell, scripting language, or programming language available. Our recommendations are: Some security professionals recommend disabling PowerShell as a method of risk mitigation. Microsoft’s guidance on this falls into two areas: For further...

Require License Acceptance Support in PowerShellGet
Oct 22, 2017
Post comments count 0
Post likes count 0

Require License Acceptance Support in PowerShellGet

Fareha Rashid[MSFT]
Fareha Rashid[MSFT]

PowerShellGet version 1.5.0 has added support for module publishers to require explicit license acceptance from users before installing a module. This feature has been requested by several of our partners, in order to meet their legal requirements. If a user installs, updates, or saves a module using PowerShellGet, and the publisher of that module requires the user to agree to a license, the user must indicate they accept the license or the operation fails. This works whether the module is installed directly or if it is installed because it is a dependency for another module. Publishing Requirements for Modules...

Navigate Azure Resources Just Like a File System
Oct 19, 2017
Post comments count 0
Post likes count 0

Navigate Azure Resources Just Like a File System

JeniTao
JeniTao

At Microsoft Ignite (around 8:15 min), we announced the Public Preview of PowerShell in Azure Cloud Shell.  A unique feature of PowerShell experience in Azure Cloud Shell is navigation of Azure resources via the Azure drive (Azure:).  Today, we are making this feature available on PowerShell Gallery as well as making the source code available on GitHub. This enables you to navigate Azure resources from any machine running Windows PowerShell 5 or higher. Simple Hierarchy in PowerShell (SHiPS) - An Easier Way to Build PowerShell Providers AzurePSDrive is built on top of an abstraction layer - SHiPS, which sim...

Polaris – simple Microservices using only PowerShell
Oct 16, 2017
Post comments count 0
Post likes count 0

Polaris – simple Microservices using only PowerShell

Tyler Leonhardt [MSFT]
Tyler Leonhardt [MSFT]

Polaris - Simple Microservices using only PowerShell Polaris is a cross-platform, minimalist web framework for PowerShell Core 6. With 6 lines of code, you have your very own webserver running and ready to accept requests - all within PowerShell:   Disclaimer We open sourced this as an experiment. It's not an officially supported Microsoft library and there is no plan yet to do so. However, we are listening to the community to determine if this work is important enough to continue investing in. Why we made Polaris PowerShell is evolving and we want to experiment with other use cases for Pow...

DSC Resource Kit Release October 2017
Oct 5, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release October 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit!This release includes updates to 6 DSC resource modules. In these past 6 weeks, 52 pull requests have been merged and 39 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was last week on September 27. A recording of our updates as well as summarizing notes will be available soon. Join us for the next call at 12PM (Pacif...

PowerShell in Azure Cloud Shell (Preview) is now publically available in Azure Portal
Sep 26, 2017
Post comments count 0
Post likes count 0

PowerShell in Azure Cloud Shell (Preview) is now publically available in Azure Portal

PowerShell Team
PowerShell Team

Yesterday, at IGNITE 2017, we announced the public availability of PowerShell in Azure Cloud Shell. With the addition of PowerShell in Cloud Shell, alongside Bash in Azure Cloud Shell, you now have the flexibility to choose the shell experience that works best for you. Thank you to our private preview users who helped shape the current experience by providing valuable feedback via issues and feature requests. We encourage you to continue your support by sharing your thoughts, experience, and input through the Azure Cloud Shell UserVoice. Hemant Mahawar - @HemanMahawar Principal Program Manager PowerShell Team

DSC Future Direction Update
Sep 12, 2017
Post comments count 1
Post likes count 0

DSC Future Direction Update

Mark Gray [MSFT]
Mark Gray [MSFT]

PowerShell Core and DSC PowerShell is open sourced and moving over to .Net Standard 2.0 for the reasons outlined in Jeffrey's blog post. Like PowerShell, PowerShell Desired State configuration (DSC) needs to meet customers in this multi-platform, multi-cloud, multi-OS world where they live. In Joey's blog post, he outlined what this means to the future of PowerShell. What does all of this mean for DSC going forward? In this post, we will discuss what direction we plan to take DSC including: Editions Windows PowerShell Desired State Configuration is included as part of Windows PowerShell ...

Windows PowerShell 2.0 Deprecation
Aug 24, 2017
Post comments count 0
Post likes count 0

Windows PowerShell 2.0 Deprecation

Joey Aiello
Joey Aiello

We recently announced that Windows PowerShell 2.0 is being deprecated in the Windows 10 Fall Creators Update. Deprecation is a process whereby technologies or applications are marked as legacy, signalling to users that they may be removed in the future, and that should move away from them and towards newer alternatives. We do not currently have a timeline to remove Windows PowerShell 2.0, but as we continue to evaluate its usage in the PowerShell ecosystem, we will be working to remove it in a future release. When this decision is made, we will give plenty of notice via official Windows deprecation channel...

DSC Resource Kit Release August 2017
Aug 23, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release August 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

DSC Resource Kit Release We just released the DSC Resource Kit! This release includes updates to 10 DSC resource modules. In these past 6 weeks, 91 pull requests have been merged and 74 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was last week on August 16. A recording of our updates as well as summarizing notes are available. Join us...

PSSwagger – Automatically generate PowerShell cmdlets from OpenAPI (f.k.a Swagger) specification
Aug 15, 2017
Post comments count 0
Post likes count 0

PSSwagger – Automatically generate PowerShell cmdlets from OpenAPI (f.k.a Swagger) specification

Manikyam Bavandla [MSFT]
Manikyam Bavandla [MSFT]

As a PowerShell enthusiast or DevOps professional, have you ever thought of having a tool that automatically generates PowerShell cmdlets to manage or access a RESTful Web Service? We are happy to share PSSwagger - the PowerShell Cmdlet generator for OpenAPI based web services. At PowerShell Conference Europe 2017, Jeffrey first showcased PSSwagger, and today we are open-sourcing the PSSwagger module and releasing its preview version to the PowerShell Gallery! Some of the benefits of PSSwagger are: • One module that works cross-platform - generated modules supports both PowerShell Core and Windows PowerShell 5.1...

PowerShell Documentation Migration
Jul 28, 2017
Post comments count 0
Post likes count 0

PowerShell Documentation Migration

Zachary Alexander
Zachary Alexander

  Hi, I’m Zach Alexander and I’m a PM on the PowerShell Team working on documentation. I wanted to let you know that there will be a brief downtime for online PowerShell documentation. This downtime will occur on August 2nd and shouldn’t last more than a few hours. We will start around 4:30pm Pacific and estimate we will be back up by 7:30pm. This downtime is needed so we can move our content off MSDN and onto https://docs.microsoft.com/! Moving to docs.microsoft.com means better community tools, better navigation, and a better reading experience. This migration will not break most existing links. We wi...

PowerShell 6.0 Roadmap: CoreCLR, Backwards Compatibility, and More!
Jul 14, 2017
Post comments count 0
Post likes count 0

PowerShell 6.0 Roadmap: CoreCLR, Backwards Compatibility, and More!

Joey Aiello
Joey Aiello

As we've made progress on open-source PowerShell, it's time to start talking more in-depth about: PowerShell Editions There are two editions of PowerShell: Windows PowerShell is the edition of PowerShell built on top of .NET Framework (sometimes referred to colloquially as "FullCLR"): PowerShell Core is the edition of PowerShell built on top of .NET Core (sometimes simplified to "CoreCLR", though it technically includes CoreFX as well). Note: while PowerShell Core 6.0 is cross-platform, there is also a PowerShell Core 5.0/5.1 released exclusively as part of Nano Server. Com...

DSC Resource Kit Release July 2017
Jul 12, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release July 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit!This release includes updates to 12 DSC resource modules. In these past 6 weeks, 106 pull requests have been merged and 115 issues have been closed, all thanks to our amazing community! This is by far the most issues we have ever had closed for a single release! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was last week on July 5. A recording of our upd...

Getting Started with PowerShell Core on Windows, Mac, and Linux
Jun 9, 2017
Post comments count 0
Post likes count 0

Getting Started with PowerShell Core on Windows, Mac, and Linux

Ashley McGlone
Ashley McGlone

Today we have a guest post from Honorary Script Guy and Microsoft Premier Field Engineer Ashley McGlone, also known as GoateePFE. This is deeper than Coke vs. Pepsi or Ford vs. Chevy. We are breaking down the barriers. Cats and dogs living together. Are you ready for this? What is PowerShell Core? The next release of PowerShell (6.0) was open-sourced last year and is currently in beta. However, it is PowerShell Core designed to run cross-platform on Windows, Mac, and Linux. PowerShell Core runs on top of .NET Core, a cross-platform, open-source version of the code base powering most of the Windows world. This ve...

DSC Resource Kit Release May 2017
May 31, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release May 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 10 DSC resource modules including 3 new resources. In these past 6 weeks, 60 pull requests have been merged and 58 issues have been closed, all thanks to our amazing community! The modules updated in this release are: UPDATE - xDFS has now also been released. Release notes can be found on the PowerShell Gallery here. xStorage, xNetworking, and xCertificate have also just been released again to fix a conflict when using the modules together. PSDscResources is also in the pipeline for release, but it is curre...

Coming Soon – PowerShell in Azure Cloud Shell
May 23, 2017
Post comments count 0
Post likes count 0

Coming Soon – PowerShell in Azure Cloud Shell

PowerShell Team
PowerShell Team

At BUILD 2017, we announced the preview of Azure Cloud Shell supporting the Bash shell. We are adding PowerShell support to Azure Cloud Shell, which gives you a choice of shell to get work done. Sign-up today to participate in a limited preview of PowerShell in Azure Cloud Shell. We look forward to sharing this awesome new PowerShell experience with you! Hemant Mahawar - @HemanMahawar Principal Program Manager PowerShell Team

Windows 10 Creators Update and PowerShell DSC
May 15, 2017
Post comments count 0
Post likes count 0

Windows 10 Creators Update and PowerShell DSC

Mark Gray [MSFT]
Mark Gray [MSFT]

For those of you who are using or planning to update the Windows 10 Creators Update, we want to make you aware of some issues that we have discovered in DSC. The following scenario is an issue in this release: We have a fix for this issue and are working diligently to get it released as soon as possible. We will let you know in a few days when you can expect to get your hands on the fix.  We are also investigating some other potential issues with DSC while running in Strict Mode and will reply to this post when we know more. Mark Gray Senior Program Manager The PowerShell Team

Announcing PowerShell for Visual Studio Code 1.0!
May 10, 2017
Post comments count 0
Post likes count 0

Announcing PowerShell for Visual Studio Code 1.0!

David Wilson [MSFT]
David Wilson [MSFT]

Today we are extremely excited to announce that the PowerShell extension for Visual Studio Code has reached version 1.0! We are shipping this update to line up with the PowerShell Core 6.0 Beta.1 release to provide the official PowerShell development experience for all supported platforms: Feature Overview We've been working hard over the last year and a half to put together a first-class development experience for PowerShell that includes the following features: You can find instructions for installing VS Code and the PowerShell extension at our GitHub repo. You can also watc...

PowerShell Core 6 Beta.1 Release
May 9, 2017
Post comments count 0
Post likes count 0

PowerShell Core 6 Beta.1 Release

Steve Lee
Steve Lee

Approximately 9 months ago, we announced PowerShell Core 6 on GitHub being not only Open Source, but also cross platform. Today, I'm proud to announce we are moving out of alpha and into beta! We realize that moving a technology that started in Windows to Linux has to fit in properly to be accepted and provide a great experience across all platforms.  We appreciate all the great feedback -- keep it coming! You can download and read the change log from our usual release page. If you've previously followed the steps to register the packages.microsoft.com Linux repository (see distro specific links below), you ...

OpenSSH Security Testing Kick Off
May 1, 2017
Post comments count 0
Post likes count 0

OpenSSH Security Testing Kick Off

PowerShell Team
PowerShell Team

Over the past while, we’ve been very busy porting OpenSSH to Win32. We’ve been working with the OpenSSH community in our GitHub repository, and are nearing a point where we are taking steps to make it production ready. Security is obviously something that we have focused on during every phase of the project. As part of this production readiness phase, however, we are additionally funding an extensive penetration test. We have engaged Casaba Security as part of this effort, who will be digging deep into the implementation over the next 1-2 months. As with all aspects of this project, one of our main goals is t...

DSC Configuration Sharing
Apr 28, 2017
Post comments count 0
Post likes count 0

DSC Configuration Sharing

Michael Greene
Michael Greene

The community around DSC Resources has been inspiring. The PowerShell Gallery now includes more than 2000 modules/scripts. 181 of those are modules focused on DSC, that collectively include 766 DSC Resources. With this many building blocks available, it has become easier and faster to get a DSC project through the proof of concept phase to production-ready Windows Servers built using Configuration As Code. When the author is new to DSC, their first configuration is a complex learning experience. The modules containing DSC Resources often have an /Examples folder with Configuration scripts showing how to use...

DSC Resource Kit Release April 2017
Apr 19, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release April 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 5 DSC resource modules, including 3 new DSC resources. In these past 6 weeks, 57 pull requests have been merged and 46 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. Our last community call for the DSC Resource Kit was last week on April 12. A recording of our updates as well as summarizing notes are available. Join us next time on May 24 to ask que...

A Comparison of Shell and Scripting Language Security
Apr 10, 2017
Post comments count 0
Post likes count 1

A Comparison of Shell and Scripting Language Security

PowerShell Team
PowerShell Team

PowerShell Security is a topic on everybody's mind. Most of all - ours. As PowerShell has become more popular with Administrators, it has also become more popular for unauthorized administrators - also known as "Attackers". In any operating system or platform, the power and efficiency you provide to authorized administrators is also available to unauthorized administrators. For example, Unix, Linux, and Mac all have dozens of powerful built in compilers, scripting languages, and debuggers. It's a power user's dream, but also a liability. The PowerShell team has recognized this double-edged sword since the intro...

Regular cadence for PowerShell Core Community Call
Mar 30, 2017
Post comments count 0
Post likes count 0

Regular cadence for PowerShell Core Community Call

Joey Aiello
Joey Aiello

tl;dr: PowerShell Core Community Calls are on the third Thursday of every month at 9:30am Pacific Time (note, this is currently PDT). Use this .ics file (right-click and select in order to download the file correctly) to avoid missing one. Hi everyone! After three successful PowerShell Core Community Calls, we're switching to a more standard cadence so that you can plan ahead and join us! For those of you that haven't heard of the PowerShell Core Community Call, it's a one hour meeting where the PowerShell Committee gets together to talk with you to help us make decisions on the evolving design of PowerShell ...

Windows Management Framework (WMF) 5.1 now in Microsoft Update Catalog
Mar 28, 2017
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 5.1 now in Microsoft Update Catalog

PowerShell Team
PowerShell Team

The Windows Management Framework (WMF) 5.1 is now available in the Microsoft Update catalog for Windows Server 2012, Windows Server 2012 R2, and Windows 8.1. These updates are listed in the catalog as KB3191564 and KB3191565.  Those who use WSUS to manage updates for their systems are now able to install WMF 5.1 for most of the WMF-supported Windows versions. The packages for Windows 7 and Windows Server 2008 R2 are only available via the Download Center at this time.   As previously announced, WMF 5.1 is a required update for WMF 5.0, and may be installed directly over WMF 5.0. As of June 1, 2017, users ...

DSC Resource Kit Release March 2017
Mar 8, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release March 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 10 DSC resource modules, including 19 new DSC resources. In these past 6 weeks, 155 pull requests (the most ever!) have been merged and 71 issues have been closed, all thanks to our amazing community! A few weeks ago we also released a new DSC resource module called SecurityPolicyDsc with resources to configure local security policies through secedit. Thank you to Jason Walker for this great new module! The modules updated in this release are: For a detailed list of the resource modules and fixes in this r...

Using PowerShell Modules in Azure Functions
Feb 24, 2017
Post comments count 0
Post likes count 0

Using PowerShell Modules in Azure Functions

Steve Lee
Steve Lee

Previously, I blogged about how I created PowerShell GitHub Dashboard using Azure Functions to run a PowerShell script and didn't use PowerShell Modules as I didn't find an easy way to do it with Azure Functions.  Stefan informed me that you can easily do it using FTP!  Today, I'm publishing a guest blog post that Stefan authored that walks you through how to use PowerShell Modules in Azure Functions!   Steve Lee published a couple of blog posts about how he created a PowerShell Open Source Community Dashboard in PowerBi. In his last blog post he explained how he used PowerShell, Azure StorageTable, Azur...

Code Coverage – Part 2
Feb 22, 2017
Post comments count 0
Post likes count 0

Code Coverage – Part 2

James.W.Truher
James.W.Truher

In my last post on code coverage, I shared the process for you to collect coverage for your environment. This week, I'll be describing a way to use our tools to create new tests and show how you can measure the increase of coverage for PowerShell Core after adding new tests. To recap, we can collect code coverage with the OpenCover module, and then inspect the coverage. In this case I would like to know about coverage for a specific cmdlet. For this post, we're going to focus on the Clear-Content Cmdlet because coverage is ok, but not fantastic and it is small enough to go over easily. Here's a partial capture f...

Managing Security Settings on Nano Server with DSC
Feb 21, 2017
Post comments count 0
Post likes count 0

Managing Security Settings on Nano Server with DSC

Zachary Alexander
Zachary Alexander

We have released DSC resources building upon the previously released security and registry cmdlets for applying security settings. You can now implement Microsoft-defined security baselines using DSC. AuditPolicyDsc SecurityPolicyDsc GPRegistryPolicy Install all 3 from the Gallery with the command: A sample configuration, below, takes the Security Baselines for Windows Server 2016 and extracts the .inf, .csv and .pol containing the desired security settings from the exported Group Policy Objects. (You can find information on extracting the necessary files in the Registry cmdlets blogpost.) Simply pass the files ...

Building a GitHub Dashboard using PowerShell, AzureStorageTable, AzureFunction, and PowerBI
Feb 9, 2017
Post comments count 0
Post likes count 0

Building a GitHub Dashboard using PowerShell, AzureStorageTable, AzureFunction, and PowerBI

Steve Lee
Steve Lee

Last week, I published a PowerShell Community Dashboard and today, I'm going to share the code and cover some of the learnings.The code is published as a module on the PowerShell Gallery. Make sure you get v1.1 as I found an issue where if you're not a member of the PowerShell Org on GitHub, you won't have permission to query the members so I changed the code to accommodate that.You can install the module using:   (and it works on PowerShell Core 6.0 including Linux! I only tested it with alpha.15, though...) Once installed, you can just run it manually: The is something you would gener...

Installing latest PowerShell Core 6.0 Release on Linux just got easier!
Feb 1, 2017
Post comments count 0
Post likes count 0

Installing latest PowerShell Core 6.0 Release on Linux just got easier!

Steve Lee
Steve Lee

As we continue our journey from Alpha releases and eventually to Beta, you can continue to download the latest releases from our GitHub repository. However, our goal has always been to enable installation through popular existing Linux package management tools like apt-get and yum.I am pleased to announce that we have now published PowerShell Core 6.0 alpha.15 to https://packages.microsoft.com! Install PowerShell Core on Ubuntu 14.04   Install PowerShell Core on Ubuntu 16.04   Install PowerShell Core on CentOS   After registering the Microsoft repository once as supe...

PowerShell Open Source Community Dashboard
Jan 31, 2017
Post comments count 0
Post likes count 0

PowerShell Open Source Community Dashboard

Steve Lee
Steve Lee

Since going cross-platform and open source on GitHub, I've wanted to know how we are doing as a community and who the top contributors we should recognize are. The available GitHub graphs are not sufficient as they focus on commits, and there are many other ways for the community to contribute to PowerShell. Certainly receiving Pull Requests (PRs) has a direct impact on the code base, but opening issues, commenting on issues, and commenting on PRs (aka code reviews) are also immensely appreciated and valuable to help improve PowerShell.In addition, PowerShell is not a single repository, but several repositories t...

DSC Resource Kit Release January 2017
Jan 25, 2017
Post comments count 0
Post likes count 0

DSC Resource Kit Release January 2017

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! This release includes updates to 8 DSC resource modules, including 11 new DSC resources. In these past 6 weeks, 71 pull requests have been merged and 37 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. [UPDATE 01/26/17 2:40PM PST] - xHyper-V has now been released with a new resource. [UPDATE 02/03/17 2:20PM PST] - PSDscResources has now also been releas...

Windows Management Framework (WMF) 5.1 Released
Jan 19, 2017
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 5.1 Released

PowerShell Team
PowerShell Team

Update March 28, 2017: WMF 5.1 in Microsoft Update Catalog Update January 27, 2017: .Net version info updated. We are pleased to announce that we are releasing the Windows Management Framework (WMF) 5.1 via the Microsoft download center.  Update 3/28/2017: WMF 5.1 is also available for most supported Windows versions in the Microsoft Update Catalog, see this blog for additional details.    WMF 5.1 upgrades Windows 7, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2 to the PowerShell, WMI, WinRM and SIL components that were released with Windows Server 2016 and Windows 10 An...

PowerShell Core Community Call #2 – Jan 26, 2016
Jan 11, 2017
Post comments count 0
Post likes count 0

PowerShell Core Community Call #2 – Jan 26, 2016

Joey Aiello
Joey Aiello

tl;dr: Our next PowerShell Community Call is January 26th, 2017 @ 9am PST. Hit the bottom of this page for an .ics and a link to the Skype meeting. Hi everyone! I'm proud to announce the 2nd PowerShell Core Community Call. As with the first call, this is a chance for the PowerShell Committee to have a direct conversation with you, PowerShell users who give us feedback to make PowerShell 6.0 great. It's also an opportunity for you to gain some insight into how we think about design problems, as well as to learn new features and additions to PowerShell at the earliest stages of their development. In our last co...

Code Coverage now available for PowerShell Core!
Jan 11, 2017
Post comments count 0
Post likes count 0

Code Coverage now available for PowerShell Core!

James.W.Truher
James.W.Truher

This is the first of a series of posts on PowerShell Core and the tools we use to test it. If you’ve looked at the main project for PowerShell (https://github.com/PowerShell/PowerShell, you may have noticed a new badge down in the Build status of nightly builds: We are supplying code coverage numbers for our test pass via the OpenCover project (https://github.com/OpenCover/opencover) and we visualize our code coverage percentage via coveralls.io (https://coveralls.io/github/PowerShell/PowerShell?branch=master). This means you can see some details about our testing and how much of PowerShell is covered by our t...

DSC Resource Kit Release December 2016
Dec 14, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit Release December 2016

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit!Since our last release on November 2, we have added 1 new module, AuditPolicyDsc, which allows you to edit your audit policy subcategories and options. Thank you to Adam Haynes for this great new module! Outside of the DSC Resource Kit, we also recently published an update to GPRegistryPolicy in the PowerShell Gallery. The latest version now includes a DSC resource to help you locally manage policy registry keys. We have also added two new maintainers to the DSC Resource Kit: These guys have shown outstanding dedication to their modules and continue to ...

Azure DSC extension for Nano Server
Dec 7, 2016
Post comments count 0
Post likes count 0

Azure DSC extension for Nano Server

Zachary Alexander
Zachary Alexander

NOTE: For information on OS support, and other features, please refer to our release history.   We are proud to announce that the Azure DSC extension now works on Nano Server! You will need to use extension version 2.21 or above, but the functionality and cmdlets remain the same. The extension will take care of adding the DSC package to Nano Server. Nano’s smaller footprint should speed up your end-to-end deployment time. Look at our existing documentation to get started. You can also use use Azure Tools for Visual Studio to help your deployments along!

WMF 5.1 Releasing January 2017
Dec 6, 2016
Post comments count 0
Post likes count 0

WMF 5.1 Releasing January 2017

PowerShell Team
PowerShell Team

Update January 19, 2017: WMF 5.1 has been released via the download center. There is more information on the release in this blog.   We previously announced that the Windows Management Framework (WMF) 5.1 would release shortly after the GA release of Windows Server 2016, however the PowerShell team found some issues with upgrades that could affect a small set of our customers.  We are resolving these issues now, and target early January for the release of WMF 5.1 to the public. We understand there is pent-up demand for this release. WMF 5.1 provides important enhancements over WMF 5.0, and removes WMF5.0...

Join our first PowerShell Core Community Call – Dec 8, 2016
Dec 1, 2016
Post comments count 0
Post likes count 0

Join our first PowerShell Core Community Call – Dec 8, 2016

Joey Aiello
Joey Aiello

tl;dr: We're having a PowerShell Core Community Call with the PowerShell Committee and you should join us! Hit the bottom of this page for an .ics and a link to the Skype meeting. The PowerShell Team loves feedback. Whether it's fielding your Windows PowerShell suggestions and bugs through our Windows Server UserVoice, answering your quick questions via the @PowerShell_Team account on Twitter, fixing your PowerShell Core 6.0 issues on GitHub, or even discussing entirely new designs--yours and our own--on the PowerShell-RFC repository, our peer-to-peer engagement with YOU has never been stronger. As part of st...

Tips and Tricks from PowerShell Core Validation
Nov 29, 2016
Post comments count 0
Post likes count 0

Tips and Tricks from PowerShell Core Validation

Michael Greene
Michael Greene

It has been a privilege for the CAT team to work with customers and the PowerShell team to validate early builds and experiences with PowerShell Core. Some of the customers involved were key influences on the whitepaper, The Release Pipeline Model Applied to Windows Server and Microsoft Cloud. As a result, validation has included many experiences from outside the traditional Microsoft tool chain, such as Vagrant and Jenkins. For this blog post, I wanted to share some of the learnings that I gained during the validation experience. This is not meant to be a complete picture of PowerShell Core. Rather, a glimpse...

Join the PowerShell 10th Anniversary Celebration!
Nov 8, 2016
Post comments count 0
Post likes count 0

Join the PowerShell 10th Anniversary Celebration!

PowerShell Team
PowerShell Team

Update: For those of you looking for the videos of this event, you can find all of them on the PowerShell 10 Year Anniversary event page on Channel9. This coming Monday, November 14th, PowerShell will have been shipping for 10 years, so the team is going to celebrate with a day-long event, running from 8:00 am to 4:00 pm (PST). This will be streaming live and shown world-wide on the home page for Channel9.msdn.com.   We’ll have segments on PowerShell and SQL, PowerShell and Azure Automation, and the future directions for PowerShell, and … well you get the idea. In addition, we're planning several presentation...

DSC Resource Kit November 2016 Release
Nov 2, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit November 2016 Release

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! Since our last release on September 21, we have added 1 new repository, PSDscResources, which will serve as the new home of the in-box DSC resources from the PSDesiredStateConfiguration module. This new module now has over 75,000 downloads from the PowerShell Gallery! Wow! Read more about PSDscResources in our blog post here. This release includes updates to 12 DSC resource modules, including 13 new DSC resources. In these past 6 weeks, 62 pull requests have been merged and 43 issues have been closed, all thanks to our amazing community! The modules updated in this rele...

PSScriptAnalyzer Community Call – Oct 18, 2016
Oct 13, 2016
Post comments count 0
Post likes count 0

PSScriptAnalyzer Community Call – Oct 18, 2016

Kapil Borle
Kapil Borle

Please join PSScriptAnalyzer community call on Tuesday, October 18, 2016 10:00 AM PDT via Skype or telephone. You can find the meeting agenda here. Skype Click the following link to join the meeting via Skype. Join online meeting Phone Dial +1-323-849-4874 to join the meeting via telephone. OR To join the meeting through a local number follow this link: Find a local number Conference ID: 94231049 For any additional help regarding joining the meeting, follow this link: Help

New Home for In-Box DSC Resources
Oct 7, 2016
Post comments count 0
Post likes count 0

New Home for In-Box DSC Resources

Katie Keim [MSFT]
Katie Keim [MSFT]

We have just released a new DSC module called PSDscResources. The aim of this module is to serve as the new home of the in-box PSDesiredStateConfiguration module open-sourced on GitHub. This allows us to accept contributions for the in-box resources from our wonderful DSC community and release these resources more frequently outside of the Windows Management Framework (WMF). The current release of PSDscResources contains 5 of the resources available in the in-box module: These resources are a combination of those in-box as well as community contributions from our experimental xPSDesiredStateConf...

New Social Features on Gallery
Sep 30, 2016
Post comments count 0
Post likes count 0

New Social Features on Gallery

Yuting Chen
Yuting Chen

We are excited to announce new social features on the PowerShell Gallery: share buttons and discussion boards.   Share Buttons We have added share buttons on each item page. You can now share items in the gallery on your social networks. The buttons are located on the side panel of the page. Click on the share button and a new share window will open:   Discussion Boards We have also added a discussion board at the bottom of each item page. This feature is being added to allow customers to share information about the item, and give feedback on it. It is expected that the comments are given...

PowerShellGet and PackageManagement in PowerShell Gallery and GitHub
Sep 29, 2016
Post comments count 0
Post likes count 0

PowerShellGet and PackageManagement in PowerShell Gallery and GitHub

PowerShell Team
PowerShell Team

As of today, PowerShellGet is an open source project, and both the PowerShellGet and PackageManagement modules are available in the PowerShell Gallery. Moving PowerShellGet to Open Source PowerShellGet is now a repo under github.com/PowerShell. Of course, the PackageManagement module is already open-sourced as it is part of the OneGet project.  Check out the new PowerShellGet repo at github.com/PowerShell/PowerShellGet. You will find information about how to contribute to PowerShellGet in the readme.md file that is in the root of the repo. This project currently follows the model used by OneGet for handling ...

PowerShell Security at DerbyCon
Sep 27, 2016
Post comments count 0
Post likes count 0

PowerShell Security at DerbyCon

PowerShell Team
PowerShell Team

Many people have commented over the past couple of years that they’d love to see a PowerShell Security conference. Well, that conference arrived: DerbyCon 2016. DerbyCon is an incredible security conference, held in Louisville Kentucky each year. Despite the calibre of all that attend, the humbleness and approachability of everyone there is outstanding. Perhaps to a fault. It’s only after talking to somebody and looking them up on Twitter do you realize it’s THAT person, and openly wonder if asking for an autograph would have been too awkward. It’s probably best to stop talking about how great of a conference i...

DSC Resource Kit September Release
Sep 21, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit September Release

Katie Keim [MSFT]
Katie Keim [MSFT]

We just released the DSC Resource Kit! Since our last release on August 10, we have added 2 brand new modules from the community: Thanks Brian and Daniel for all your hard work! This release includes updates to 14 DSC resource modules, including 15 new DSC resources. In these past 6 weeks, 94 pull requests have been merged and 81 issues have been closed, all thanks to our amazing community! The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Re...

PowerShell DSC and implicit remoting broken in KB3176934
Aug 23, 2016
Post comments count 0
Post likes count 0

PowerShell DSC and implicit remoting broken in KB3176934

PowerShell Team
PowerShell Team

On August 23, Windows update KB3176934 released for Windows Client. Due to a missing .MOF file in the build package, the update breaks DSC. All DSC operations will result in an “Invalid Property” error. In addition, due to a missing binary in the build package the update breaks PowerShell implicit remoting. Implicit remoting is a PowerShell feature where PowerShell commands work on a remote session instead of locally. Specifically, importing a remote session no longer works: $remoteSession = New-PSSession -Cn TargetComputer Import-PSSession -Session $remoteSession Import-PSSession : Could not load type 'System.M...

PowerShell on Linux and Open Source!
Aug 18, 2016
Post comments count 0
Post likes count 0

PowerShell on Linux and Open Source!

PowerShell Team
PowerShell Team

Since its inception in 2002 PowerShell has been deeply influenced and improved by the passion and needs of our community. As an example, 80 contributors filed bugs and issues on the “alpha” release. Since that time we, together, have built a strong PowerShell community that supports each other, provides Summits and Conferences and gives great feedback to the product team at Microsoft. Satya’s new leadership and customer-focused mindset has encouraged and empowered us to do even more with our community. Last year we started a number of successful community initiatives, such as the PowerShell Home Page, the PowerS...

Windows PowerShell is now “PowerShell”: An Open Source Project with Linux support – How did we do it?
Aug 17, 2016
Post comments count 0
Post likes count 0

Windows PowerShell is now “PowerShell”: An Open Source Project with Linux support – How did we do it?

PowerShell Team
PowerShell Team

Hello everyone, My name is Angel Calvo, I am Microsoft’s Group Software Engineering Manager for PowerShell and Desired State Configuration (DSC). I'd like to take this opportunity to proudly represent the engineering team behind this project, and share a few thoughts about yesterday’s historic announcement for PowerShell and our Community I am so excited about the availability of PowerShell on Linux and as an open source project!  https://GitHub.com/PowerShell/PowerShell -- I can’t think of a better way to celebrate the 10th year anniversary of PowerShell than by enabling everyone on the planet to help innovate...

DSC Resource Kit August Release
Aug 10, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit August Release

Katie Keim [MSFT]
Katie Keim [MSFT]

The DSC Resource Kit has been released! This release includes 14 updated DSC resource modules and 10 new DSC resources. Since the last release on June 29, there have been 126 merged pull requests and 41 closed issues. The modules updated in this release are: For a detailed list of the resource modules and fixes in this release, see the Included in this Release section below. This release includes our second high quality resource module, WebAdministrationDsc. This is a partial, high quality version of xWebAdministration. It currently includes three high quality reso...

DSC Resource Kit Community Call August 3
Jul 29, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit Community Call August 3

Katie Keim [MSFT]
Katie Keim [MSFT]

We will be hosting a community call for the DSC Resource Kit 1-2PM on Wednesday, August 3 (PDT). Call in to ask questions or give feedback about the DSC Resource Kit! How to Join Skype for Business Join Skype Meeting This is an online meeting for Skype for Business, the professional meetings and communications app formerly known as Lync. Phone +14257063500 (USA - Redmond Campus) English (United States) +18883203585 (USA - Redmond Campus) English (United States) Find a local number Conference ID: 88745041 Forgot your dial-in PIN? | Help Agenda The community call agenda is posted on GitHub here.

Announcing Windows Management Framework (WMF) 5.1 Preview
Jul 16, 2016
Post comments count 0
Post likes count 0

Announcing Windows Management Framework (WMF) 5.1 Preview

PowerShell Team
PowerShell Team

Update 08/08/2016: Removed the note on container support. That is not part of WMF, as it installs on older versions of Server. Today we are pleased to announce that the Windows Management Framework (WMF) 5.1 Preview release is now available on the Download Center. WMF provides users with the ability to update previous releases of Windows Server and Windows Client to the management platform elements released in the most current version of Windows. This enables a consistent management platform to be used across the organization, and eases adoption of the latest Windows release. WMF 5.1 Preview includes the Power...

DSC Resource Kit June Release
Jun 29, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit June Release

PowerShell Team
PowerShell Team

The June release of the DSC Resouce Kit is out! This release includes 12 updated DSC resource modules and 20 new DSC resources. Since the last release on May 18, there have been 106 merged pull requests and 42 closed issues. The modules updated in this release are: We also have our first ever community call for the DSC Resource Kit tomorrow 1-3PM PT! Join us to ask questions and give feedback about your experience with the DSC Resource Kit. You can read more about the call in the blog post here. For a detailed list of what resources and fixes ha...

DSC Resource Kit Community Call
Jun 27, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit Community Call

Katie Keim [MSFT]
Katie Keim [MSFT]

We will be hosting a community call for the DSC Resource Kit 1-3PM on Thursday, June 30 (Pacific Time). Call in to ask questions or give feedback about the DSC Resource Kit! For this call, we will be focusing on the DSC Resource Kit overall as well as the new plans for experimental High Quality Resource Modules (HQRMs). Comments, questions, and feedback about the call can be submitted on GitHub in the PowerShell/DSCResources repository under issue #146. How to Join You can access the call through Skype or by phone: Join online meeting Join by Phone +14257063500 (USA - Redmond Campus) English (United States)...

Azure DSC Extension versions 2.4 up to 2.13 will retire in August
May 24, 2016
Post comments count 0
Post likes count 0

Azure DSC Extension versions 2.4 up to 2.13 will retire in August

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. In August, we will remove Azure DSC Extension versions 2.4 up to 2.13. These versions use WMF 5.0 PP whose signing certificates will expire in August. These versions will continue to run on existing VMs, but you will no longer be able to install them on new VMs. Now would be a good time to start thinking about upgrading to one of the latest versions which installs WMF 5.0 RTM. If you are using Azure Powershell SDK cmdlets, you can use the -Version parameter. If you are using ARM template, update the '...

End of Support for Windows Management Framework (WMF) 5.0 Production Preview is Approaching, Upgrade to RTM bits!
May 23, 2016
Post comments count 0
Post likes count 0

End of Support for Windows Management Framework (WMF) 5.0 Production Preview is Approaching, Upgrade to RTM bits!

PowerShell Team
PowerShell Team

On 1st June 2016, support for the WMF 5.0 Production Preview, released back in August 2015, will end and it’s time to upgrade to the WMF 5.0 RTM. We would like to give a huge THANK YOU to all of you who used the WMF 5.0 Production Preview and provided us with feedback. Your input and feedback helped contribute to make WMF 5.0 RTM even better. The end of support for the Production Preview means that starting 6/1, Thank you, Windows PowerShell Team

New Policy Cmdlets for Nano Server
May 20, 2016
Post comments count 0
Post likes count 0

New Policy Cmdlets for Nano Server

PowerShell Team
PowerShell Team

We have just released another set of new cmdlets intended for use on Nano Server for managing local policy. Although Nano Server doesn't support Group Policy, it does support local policy. Previously, we released Security cmdlets to deal with .INF and .CSV files. Today, we released the GPRegistryPolicy cmdlets which will deal with .POL files containing registry policy settings. .POL files can be generated from GPO Backups, or they can be generated with . POL files will have either Local Machine or Local User registry keys, which must be specified to the and cmdlets. For Nano Server, all relevant settings wil...

DSC Resource Kit – Anniversary Release
May 18, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit – Anniversary Release

PowerShell Team
PowerShell Team

We've just updated the DSC Resource Kit to celebrate our 1 year open-source anniversary! The DSC Resource Kit has come a long way in a year. Originally, DSC started with only in-box resources. To make these resources easier to update, some were moved to TechNet's Script Center and became the DSC Resource Kit. Finally in April 2015, the DSC Resource Kit was open-sourced to the community on GitHub with all modules available to download in the PowerShell Gallery. Now, the DSC Resource Kit has passed it's first anniversary as open-source, and what a year it's been! We now have 302 DSC Resources across 52 modules!...

New Security Cmdlets in Nano Server
May 9, 2016
Post comments count 0
Post likes count 0

New Security Cmdlets in Nano Server

PowerShell Team
PowerShell Team

In Windows Server 2016 TP5, we included two new cmdlets to help manage security policy settings. While they are present on every install option of Windows Server, these are mostly useful on Nano Server because Nano Server does not support Group Policy. Security-related settings include two different kinds of artifacts. • .INF files containing security policy template settings. These are handled by the "securityCmdlets"(*) module that ships in Technical Preview 5 • .CSV files containing advanced audit settings. these are handled by the "securityCmdlets"(*) module that ships in Technical Preview ...

Understanding the PowerShell UserVoice
May 9, 2016
Post comments count 0
Post likes count 0

Understanding the PowerShell UserVoice

Zachary Alexander
Zachary Alexander

The PowerShell Team been using UserVoice to take in requests, feedback and bug reports for a few months now.  It’s been really great seeing feedback come in directly from the PowerShell community. I wanted to give some details around how your feedback gets used and what happens to something after it gets posted to UserVoice. We recently added some status definitions to our UserVoice forum. I’m going to walk through UserVoice to show how we do things, and give more detail on what those definitions actually mean in practice. Suppose I want to share my deepest desire - an open source version of the Archive module....

Developing PowerShell Cmdlets for Nano Server using the PowerShell Core SDK
May 4, 2016
Post comments count 0
Post likes count 0

Developing PowerShell Cmdlets for Nano Server using the PowerShell Core SDK

PowerShell Team
PowerShell Team

Looking to develop PowerShell cmdlets for Nano Server? Try out our new PowerShell SDK for Nano on the PowerShell Gallery. Or, if you already have Windows 10 or Windows Management Framework 5.0 installed, simply run: If you've been watching the Server & Cloud Blog, you'll know that we recently announced the availability of Technical Preview 5 of Windows Server 2016. And if you've also been following the Windows Server Blog, you will have noticed that last week marked the latest installment of the "10 Reasons You'll Love Windows Server" series. Not surprisingly, in Jeffrey's Top Ten for Windows Server 2016 ...

The Archive module is now open-source
Apr 25, 2016
Post comments count 0
Post likes count 0

The Archive module is now open-source

Joey Aiello
Joey Aiello

Over the past year, the PowerShell Team has released and developed a ton of open-source code. Many of our open-source projects started and have grown out in the open, like our DSC resources, PowerShell Script Analyzer, PowerShell Editor Services, and the PowerShell VS Code plugin. Others are existing open-source projects where we've started to contribute new code like OpenSSH, Pester, or PSReadline. However, until now, we have not open-sourced any core components of PowerShell that originally started as closed-source. Today, we're proud to announce that Microsoft.PowerShell.Archive, a module that shipped as...

View File Content Feature is Available on the Gallery
Apr 21, 2016
Post comments count 0
Post likes count 0

View File Content Feature is Available on the Gallery

Yuting Chen
Yuting Chen

We are excited to let you know that you can now view files and their contents directly from the PowerShellGallery! We have received a lot of feedback that you want to see the file contents in the items and scripts before downloading them, so we enabled browsing item content on the Gallery. This feature includes two parts: listing the files within the item, and displaying file contents for supported file types. Currently we support displaying the contents of the following file extensions: .ps1, .psm1, .psd1, .ps1xml, .xml and .txt.   Listing the Files in the Item/Script On the item details page you can f...

AWS DSC Toolkit
Apr 20, 2016
Post comments count 0
Post likes count 0

AWS DSC Toolkit

PowerShell Team
PowerShell Team

We have just released a brand new module called the AWS DSC Toolkit! This module allows you to register AWS EC2 instances as DSC Nodes in Azure Automation. You can then control your EC2 instances in Azure Automation using PowerShell DSC configurations. The 4 new cmdlets provided by this module are: An example of these cmdlets is available here. This module is currently in preview. It is provided as is and is not supported through any Microsoft support program or service. Installation The AWS DSC Toolkit is available on the PowerShell Gallery. You can install it using PSGet: The source code is als...

Windows Management Framework 5.0 Updates and WMF 5.1
Apr 6, 2016
Post comments count 0
Post likes count 0

Windows Management Framework 5.0 Updates and WMF 5.1

PowerShell Team
PowerShell Team

Thanks to all of you, the Windows Management Framework (WMF) 5.0 release has been a huge success. WMF 5.0 RTM has had over 130,000 downloads in the first 5 weeks after release! We will be servicing WMF 5.0, providing fixes as necessary.  We will also continue to make small improvements to features and components as we move toward the release of Windows Server 2016 later this year.  When Windows Server 2016 ships we will release WMF 5.1, which includes all the changes and responses to your feedback that have been made since WMF 5.0 shipped. Many of these improvements are currently included in the Windows 10 Ins...

DSC Resource Kit Update
Apr 4, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit Update

PowerShell Team
PowerShell Team

We've just updated the DSC Resource Kit for April! Since our last update in February, there have been 107 merged pull requests with 49 closed issues. Thanks to our wonderful community, the DSC Resource Kit now consists of 279 resources! We have updated 21 DSC modules which include 6 new resources. The updated modules are: For a detailed list of what resources and fixes have been implemented, see the "What Has Recently Been Released?" section below. We strongly encourage you to update to the newest version of all modules using the PowerShell Gallery, and don't forge...

Bash for Windows: Why it’s awesome and what it means for PowerShell
Apr 1, 2016
Post comments count 0
Post likes count 1

Bash for Windows: Why it’s awesome and what it means for PowerShell

Joey Aiello
Joey Aiello

This week at Build, Microsoft announced that we will be enabling you to run "Bash on Ubuntu on Windows" as a developer tool for Windows 10. It will natively support Ubuntu userspace and GNU/Linux utilities, including the apt-get package manager that you can use to pull down additional tools like Ruby, emacs, etc. from Canonical's official repositories.We're really excited to run Bash on Windows 10. I'm personally a huge fan of GNU/Linux, and many members of the PowerShell team also have a strong *nix background. While working with OSS projects, there are numerous quick scenarios where it's immensely useful to dro...

Windows Management Framework (WMF) 5.0 RTM is now available via the Microsoft Update Catalog
Mar 21, 2016
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 5.0 RTM is now available via the Microsoft Update Catalog

PowerShell Team
PowerShell Team

The PowerShell Team is happy to announce the availability of WMF 5.0 RTM via the Microsoft Update Catalog, bringing the improvements delivered in WMF 5.0 to large-scale deployments. IT Administrators can now use existing tools such as Windows Server Update Services (WSUS), or System Center Configuration Manager (SCCM) to install WMF 5.0 RTM across all of the systems. You can to search for the WMF 5.0 packages in the Microsoft Update Catalog using the following KB numbers:       Important Note: Before installing the WMF 5.0 packages, please ensure: We hope that this new delivery channel will remove...

Debugging PowerShell DSC Class Resources
Mar 14, 2016
Post comments count 0
Post likes count 0

Debugging PowerShell DSC Class Resources

Paul Higinbotham [MSFT]
Paul Higinbotham [MSFT]

Update: I neglected to mention that the DSC resource debugging enabling Cmdlet, Enable-DscDebug, is available only in the Technical Preview 5 release and this was not available when this blog was first published. My sincerest apologies for that. Fortunately this release is now available at: System Center 2016 Preview and Windows Server 2016 Technical Preview 5 released   Traditionally PowerShell script debugging has been limited to script running inside the PowerShell console or ISE (Integrated Script Environment), which means you are limited to debugging script that you can see and is running in...

Package Management Preview – March 2016 for PowerShell 4 & 3 is now available
Mar 8, 2016
Post comments count 0
Post likes count 0

Package Management Preview – March 2016 for PowerShell 4 & 3 is now available

Manikyam Bavandla [MSFT]
Manikyam Bavandla [MSFT]

We’re excited to announce the availability of Package Management related PowerShell modules targeted for PowerShell 4 and PowerShell 3. The MSI based installer can be downloaded from Microsoft Download Center! This preview consists of modules PackageManagement (formerly known as OneGet) and PowerShellGet. The versions of these modules include the functionality of those that shipped with WMF 5.0 RTM. Since this preview contains only PowerShell modules, you do not need to reboot after installation. This preview installs exclusively on systems running PowerShell 4 or PowerShell 3 only. This preview will not instal...

Announcing the Underhanded PowerShell Contest
Mar 7, 2016
Post comments count 0
Post likes count 0

Announcing the Underhanded PowerShell Contest

PowerShell Team
PowerShell Team

In an effort to improve the validation capability of PowerShell Script Analyzer, we are running a series of contests. We want you - the community members - to help us identify underhanded PowerShell scripts, and then create rules to catch them. There are specific areas where Script Analyzer rules are needed and we need your skills to help us hone them. What is underhanded PowerShell code? Basically, code that is designed to do something the user would not intend, or takes actions that are not apparent to someone who would casually read the code. For example, an underhanded approach to running ‘[System.Runtime.Int...

ARM DSC Extension Settings
Feb 26, 2016
Post comments count 0
Post likes count 0

ARM DSC Extension Settings

PowerShell Team
PowerShell Team

Update for the latest information regarding DSC Extension, refer to the product documentation. .......... Overview This is the schema for the settings portion of the Azure DSC extension in an ARM template. Fast Reference Details Settings vs. ProtectedSettings All of these settings will be saved in a settings text file on your VM. Properties under 'settings' are considered public properties because they will not be encrypted in the settings text file. Properties under 'protectedSettings' will be encrypted with a certificate and will not be shown in plain text in this file on your VM. So, if your configur...

The PowerShell Gallery Is Public
Feb 25, 2016
Post comments count 0
Post likes count 0

The PowerShell Gallery Is Public

PowerShell Team
PowerShell Team

We are excited to announce that, as of today, the PowerShell Gallery has changed from Preview to Public. In July 2015, we announced and opened the PowerShell Gallery for public contributions. Since then, we have seen rapid growth in the number of modules, scripts, and users using the gallery - Thank you to those who contributed so far! We’d like to share with you some of the current gallery community stats: 1856 registered users 567 unique modules and scripts 97,400 page views per month 180,000 downloads last month 821,000 downloads total As part of this update, we added features to scan submissions using...

Windows Management Framework (WMF) 5.0 RTM packages has been republished
Feb 24, 2016
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 5.0 RTM packages has been republished

PowerShell Team
PowerShell Team

Today, we have republished the Windows Management Framework (WMF) 5.0 RTM packages for Windows Server 2012 R2, Windows Server 2012, Windows 2008 R2 SP1, Windows 8.1, and Windows 7 SP1 to Microsoft Download Center. These packages replace previously released WMF 5.0 RTM packages and WMF 5.0 Production Preview packages. Important Note: For systems running Windows 7 SP1 or Windows Server 2008 R2 SP1, you’ll need WMF 4.0 and .NET Framework 4.5 or higher installed to run WMF 5.0. We want to extend our sincere thanks to the PowerShell Community for your continued patience and support while we were addressing the PSModul...

PSScriptAnalyzer v1.4.0 release and support on PSv3.0
Feb 18, 2016
Post comments count 0
Post likes count 0

PSScriptAnalyzer v1.4.0 release and support on PSv3.0

Raghu Shantha [MSFT]
Raghu Shantha [MSFT]

Hello All. The first ScriptAnalyzer release of year 2016 added the ability to run on platforms containing PowerShell versions 3.0 and above. This means that Windows Management Framework (WMF) 5.0 is no longer a dependency to use ScriptAnalyzer. ScriptAnalyzer v1.4.0 (available in PowerShellGallery), ships with binaries compatible on systems containing PSv3.0/4.0 and PSv5.0 and loads the correct supported version. Rule functionality  automatically adapts to underlying PowerShell . For example - Rules that validate PowerShell Classes get triggered only on PSv5.0. In the latest release - v1.4.0 we have added new ...

DSC Resource Kit gets even bigger
Feb 11, 2016
Post comments count 0
Post likes count 0

DSC Resource Kit gets even bigger

Karol Kaczmarek [MSFT]
Karol Kaczmarek [MSFT]

In the last couple of weeks we’ve seen lots of activity from our contributors and collaborators across DSC repositories and are excited to announce what’s the biggest update to DSC Resource Kit yet! The total number of merged pull requests exceeded one hundred (105) and 53 issues have been closed. You will find updates in 24 DSC modules, 9 of those have new resources added (44 new resources to be exact!). Those modules are: xAdcsDeployment, xDhcpServer, xDnsServer, xNetworking, xPSDesiredStateConfiguration, xSharePoint, xSqlPs, xSqlServer and xWebAdministration. Thanks to all your hard work, after the latest re...

Azure DSC Extension Data Collection
Feb 2, 2016
Post comments count 0
Post likes count 0

Azure DSC Extension Data Collection

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Overview In order to improve the quality of the DSC Extension, the DSC Extension will start automatically sending information to Microsoft containing operational and reliability data about the DSC Extension in a future version of the DSC Extension. While we strongly encourage you to participate in improving the quality of our software, participation is voluntary, so we are adding the ability to disable it through the Azure PowerShell SDK and Azure Resource Manager (ARM) templates. We encourage you to leave this fea...

Cloud Deployment Survey
Jan 22, 2016
Post comments count 0
Post likes count 0

Cloud Deployment Survey

PowerShell Team
PowerShell Team

Occasionally, our team will run open public surveys to gather data on trends in the industry. Right now, we are running a survey on cloud deployment projects. This is a short survey for people currently thinking about, or running, deployments to public clouds. Please take a look, and share broadly! This will help us get the best data possible, so we can make the best products possible! https://www.surveymonkey.com/r/cloudDeploy

Introducing the Windows PowerShell ISE Preview
Jan 20, 2016
Post comments count 1
Post likes count 1

Introducing the Windows PowerShell ISE Preview

David Wilson [MSFT]
David Wilson [MSFT]

Today I'm pleased to share some exciting new plans that will change how we develop the PowerShell ISE so that it keeps up with the evolving needs of our users.  Those of you who saw the teaser at the end of the announcement of PowerShell for Visual Studio Code, this is the follow-up you've been patiently waiting for! Here are the details: A new preview release model for the PowerShell ISE The biggest news is that we've developed a new strategy to ship a separate preview edition of the PowerShell ISE. This enables us to add new features and release them to all of you much faster than before.  Previo...

Windows Management Framework (WMF) 4.0 Update now available for Windows Server 2012, Windows Server 2008 R2 SP1, and Windows 7 SP1
Jan 19, 2016
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 4.0 Update now available for Windows Server 2012, Windows Server 2008 R2 SP1, and Windows 7 SP1

PowerShell Team
PowerShell Team

As part of the November 2014 Update (KB3000850), we released updates to PowerShell 4.0 for Windows 8.1 and Windows Server 2012 R2. We are now pleased to make these same PowerShell 4.0 updates available for Windows Server 2012 (KB3119938), Windows Server 2008 R2 SP1 (KB3109118), and Windows 7 SP1 (KB3109118) via WMF 4.0 Update packages. At this time, these update packages are only available by request through the aforementioned links. As previously communicated, these updates substantially improve stability, diagnosability, and reliability of PowerShell Desired State Configuration (DSC) in Windows PowerShell ...

ScriptAnalyzer v1.2.0 Released
Dec 17, 2015
Post comments count 0
Post likes count 0

ScriptAnalyzer v1.2.0 Released

PowerShell Team
PowerShell Team

Improving the PowerShell feedback experience with UserVoice
Dec 14, 2015
Post comments count 0
Post likes count 0

Improving the PowerShell feedback experience with UserVoice

Joey Aiello
Joey Aiello

Since the early days of PowerShell 1.0, the PowerShell Team has been using Connect to manage customer feedback, feature requests, and bug reports, enabling us to have a continued pulse on the needs of the PowerShell community. However, in responding to your feedback, we also realize that Connect is starting to show its age and that our cloud cadence demands a feedback platform that drives rapid and direct engagement with the PowerShell Team. Starting today, we're joining the rest of Windows Server by opening the doors on the PowerShell forum within the Windows Server UserVoice. The move to UserVoice will allow u...

PowerShell Tests released on GitHub
Dec 7, 2015
Post comments count 0
Post likes count 0

PowerShell Tests released on GitHub

PowerShell Team
PowerShell Team

The PowerShell team is excited to make its first release of our test code on GitHub. This project represents a selection of tests that the PowerShell team uses when testing PowerShell. In the more than 12 years of active development on PowerShell, we have created (and continue to use) many different script based test frameworks. As part of an effort to simplify our test infrastructure, early in 2015 we started the migration process of our internal script based framework tests to the Pester (https://github.com/pester/Pester) framework; the release of this project represents the early fruits of that labor. Our plan...

Recent updates to DSC Resource Kit
Dec 4, 2015
Post comments count 0
Post likes count 0

Recent updates to DSC Resource Kit

PowerShell Team
PowerShell Team

We would like to share with you a summary of changes which happened in DSC Resource Kit over last few weeks. Since we’ve posted about the updates here last time, we’ve accepted 38 pull requests, closed 33 issues, updated 7 modules and added 4 new resources! Two resources were added to xNetworking module (xDNSConnectionSuffix and xNetConnectionProfile), one to xActiveDirectory (xADGroup), and yet another one to xCertificate module (xPfxImport). These new additions bring us to the total of 229 DSC resources! This would not be possible without the great help and support we are receiving from our commun...

PowerShell Language Design – Request for Comments
Dec 2, 2015
Post comments count 0
Post likes count 0

PowerShell Language Design – Request for Comments

Steve Lee
Steve Lee

For a while now, we've been thinking about how to better incorporate the community into the PowerShell language design process.  We believe this would improve PowerShell by:  A Request for Comments (RFC) is a type of document used broadly in the industry, in various forms, as a way to collect feedback from customers and partners.  We are adopting this concept as a way to get feedback on language design documents.  This is something that is new to us, so we are starting smal...

Announcing PowerShell language support for Visual Studio Code and more!
Nov 16, 2015
Post comments count 1
Post likes count 0

Announcing PowerShell language support for Visual Studio Code and more!

PowerShell Team
PowerShell Team

Today I am very happy to announce Developer Preview releases of two new projects that I hope will take your PowerShell development experience to the next level. Write and debug PowerShell scripts in Visual Studio Code! The first release is a new extension for Visual Studio Code which provides improved PowerShell language support including IntelliSense, code navigation, real-time script analysis, and local script debugging.  Previous releases of Visual Studio Code have provided basic PowerShell syntax highlighting support and code snippets.  This summer I started working with a PowerShell team intern,&...

Compromising Yourself with WinRM’s “AllowUnencrypted = True”
Oct 27, 2015
Post comments count 0
Post likes count 1

Compromising Yourself with WinRM’s “AllowUnencrypted = True”

PowerShell Team
PowerShell Team

One thing that’s a mixed blessing in the world of automation is how often people freely share snippets of code that you can copy and paste to make things work. Sometimes, this is a snippet of code / functionality that would have been hard or impossible to write yourself, and saves the day. Sometimes, this is a snippet that changes some configuration settings to finally make something work. For both types of code, you should really understand what’s happening before you run it. Configuration snippets are particularly important in this regard, as they permanently change the posture of the system. One disappointi...

Azure DSC Extension – Versions 1.0-2.3 no longer available
Oct 26, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension – Versions 1.0-2.3 no longer available

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we retired versions 1.0 to 2.3 of the Azure DSC Extension. These versions use preview versions of WMF 5.0 whose signing certificates have expired, so it is no longer possible to install them. If any of these versions are already installed on your VMs they will continue to run, but you will not be able to install them on new VMs. Our PowerShell cmdlet, Set-AzureVMDscExtension still uses version 1.* as the default; you can install a different version with the –Version parameter: Starting with the soon-to-be-rel...

DSC Resource Kit updates are here!
Oct 23, 2015
Post comments count 0
Post likes count 0

DSC Resource Kit updates are here!

Karol Kaczmarek [MSFT]
Karol Kaczmarek [MSFT]

You may be wondering what’s happening in the area of DSC Resource Kit and if that’s the case, read on. Over the last month we’ve accepted 47 pull requests, fixed 16 issues, updated 9 modules and added 5 new resources! The new resources are xExchMaintenanceMode, xExchMailboxServer, xExchTransportService and xExchEventLogLevel in the xExchange module as well as xDefaultGatewayAddress shipped as part of the  Networking module. These new additions bring us to the total of 225 DSC resources! For details about the updates and bug fixes available in the recent releases, please scroll to the &ldquo...

Azure DSC Extension 2.8 & How to map downloads of the extension dependencies to your own location.
Oct 21, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension 2.8 & How to map downloads of the extension dependencies to your own location.

Travis Plunk
Travis Plunk

NOTE: For information on OS support, and other features, please refer to our release history. Overview Today, we released version 2.8 of the Azure DSC Extension, we added support to map downloads of the extension dependencies to your own location. This could be useful, if you want to configure the network, of a VM not to allow direct access to the Internet and host these files somewhere else. This blog will show you how to use this feature in Azure Cloud Service Manager (ASM). This assumes you already know how to use the DSC Extension as described in How to use WMF 4 with Azure DSC Extension in Azure Resour...

OpenSSH for Windows Update
Oct 19, 2015
Post comments count 0
Post likes count 0

OpenSSH for Windows Update

Steve Lee
Steve Lee

Back in June, we announced our intentions to bring SSH to Windows by supporting and contributing to the OpenSSH community.  Our objective was to not only port OpenSSH so that it worked well on Windows, but to openly contribute those changes back into the portable version of OpenSSH.  Of the many options available, one clearly stood out: the previous work that NoMachine had already published in bringing OpenSSH to Windows.  The NoMachine port was based on OpenSSH 5.9, so we’ve spent the time since our initial announcement working with NoMachine to bring this port in sync with OpenSSH 7.1.&nbsp...

Package Management Preview for PowerShell 4 & 3 is now available
Oct 9, 2015
Post comments count 0
Post likes count 0

Package Management Preview for PowerShell 4 & 3 is now available

Krishna C Vutukuri [MSFT]
Krishna C Vutukuri [MSFT]

We’re excited to announce the availability of Package Management related PowerShell modules targeted for PowerShell 4 and PowerShell 3. The MSI based installer can be downloaded from Microsoft Download Center! This preview consists of modules PackageManagement (formerly known as OneGet) and PowerShellGet. The versions of these modules exactly match those that shipped with WMF 5.0 August Production Preview. Since this preview contains only PowerShell modules, you do not need to reboot after installation. This preview installs exclusively on systems running PowerShell 4 or PowerShell 3 only. This preview will...

Desired State Configuration + Puppet
Oct 6, 2015
Post comments count 0
Post likes count 0

Desired State Configuration + Puppet

PowerShell Team
PowerShell Team

Our goal with PowerShell Desired State Configuration is to make Windows easy to manage, regardless of what tool you’re using. We view DSC as a platform technology to manage Windows, and this technology can be extended with the creation of new resources as well as the reuse of PowerShell DSC functionality in different solutions. As Microsoft partners make their components configurable via DSC, their customers will be able to choose from a wide range of configuration management tools that support DSC. To that end, we are pleased to share that Puppet Labs has launched their support for PowerShell Desired Stat...

The New Home of DSC Documentation
Oct 3, 2015
Post comments count 0
Post likes count 0

The New Home of DSC Documentation

Joey Aiello
Joey Aiello

I’m pleased to announce that our official PowerShell Desired State Configuration (DSC) documentation now has a new home on MSDN. We heard your feedback loud and clear, and began working on a documentation platform that reflects our customer-focused approach to addressing that feedback with improvements to the content and structure of the DSC documentation. These changes were enabled and continue to be driven by the fact that this documentation is now available in Markdown format on GitHub via the PowerShell-Docs repository. Furthermore, we have leveraged a continuous integration and deployment system to all...

How to use WMF 4 with Azure DSC Extension in Azure Resource Manager (ARM)
Oct 2, 2015
Post comments count 0
Post likes count 0

How to use WMF 4 with Azure DSC Extension in Azure Resource Manager (ARM)

Travis Plunk
Travis Plunk

Overview In version 2.7 of the Azure DSC Extension, we added support to leave your Virtual Machine on the latest supported version of WMF 4.0. This blog will show you how to use this feature in Azure Resource Manager (ARM) templates. For this, I will use the Azure Resource Manger Tools, that were released with Azure SDK 2.6 for .NET. I will assume you already have Visual Studio 2015 setup. I also assume you have read 'How to use WMF 4 with Azure DSC Extension in Azure Cloud Service Manager (ASM)', as it describes the meaning of some of the terms. The MSDN topic 'Creating and Deploying Azure Resource Group Depl...

PowerShell DSC FAQ: Sorting Out Certificates
Oct 1, 2015
Post comments count 0
Post likes count 0

PowerShell DSC FAQ: Sorting Out Certificates

Michael Greene
Michael Greene

Today's blog post is by guest author Mr. Ashley McGlone, also known as GoateePFE. Ashley is a Microsoft Premier Field Engineer who teaches and supports PowerShell for Microsoft Premier customers. You can find more content from Ashley at his blog on TechNet. Certificates, Oh No! One of the most common questions I get regarding PowerShell Desired State Configuration is about certificates. What kind do I need? How many? Where do they go? Most people enjoy working with certificates as much as they enjoy going to the dentist. Exactly. Many of us only touch the certificate server when we have no other choice. It i...

How to use WMF 4 with Azure DSC Extension in Azure Cloud Service Manager (ASM)
Oct 1, 2015
Post comments count 0
Post likes count 0

How to use WMF 4 with Azure DSC Extension in Azure Cloud Service Manager (ASM)

Travis Plunk
Travis Plunk

Overview In version 2.7 of the Azure DSC Extension, we added support to leave your Virtual Machine on the latest supported version of WMF 4.0. This blog will show you how to use this feature in Azure Cloud Service Manager (ASM). This assumes you already know how to create a VM in the Azure PowerShell SDK. If you don't please see MSDN. We are working to add this feature into the Azure Powershell SDK DSC extension Cmdlets directly. Currently, the WMF 4 feature is only available if you form the JSON yourself and send it to the extension using the generic extension Cmdlet. In this Example I will show you: ...

Azure DSC Extension v2.7 released
Oct 1, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.7 released

Travis Plunk
Travis Plunk

NOTE: For information on OS support, and other features, please refer to our release history. Summary Today, we released version 2.7 of the Azure DSC Extension, which adds support to leave your Virtual Machine on the latest supported version of WMF 4.0. We have a blog posted with examples of how to use this in Azure Cloud Service Manager (ASM) and Azure Resource Manager (ARM.) Use "Set-AzureVMDscExtension -Version 2.7" to install this version on your VM. Please feel free to reach to us posting comments to this post, or by posting feedback on Connect.

PowerShell DSC for Linux version 1.1 is Now Available! And New Linux Resources!
Sep 29, 2015
Post comments count 0
Post likes count 0

PowerShell DSC for Linux version 1.1 is Now Available! And New Linux Resources!

Kris Bash
Kris Bash

We are pleased to announce the availability of PowerShell DSC for Linux version 1.1. You can download this release here, or grab the source code here. This release implements the following new scenarios: Version 1.1 also includes all cumulative fixes in resources made to date. For more information on this release, please review the DSC for Linux v1.1. release notes. New Linux Resources The following new DSC for Linux resources are now available. These are available on the PowerShell gallery, included in the DSC for Linux download package, and available as source code. The additional modules can be distribute...

Azure DSC Extension v2.6 released
Sep 20, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.6 released

PowerShell Team
PowerShell Team

// <![CDATA[ document.write("", "\n")); document.write("@font-face {\ font-family: fontawesome-mini;\ src: url(data:font/woff;charset=utf-8;base64,d09GRgABAAAAAAzUABAAAAAAFNgAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABbAAAABwAAAAcZMzaOEdERUYAAAGIAAAAHQAAACAAOQAET1MvMgAAAagAAAA+AAAAYHqhde9jbWFwAAAB6AAAAFIAAAFa4azkLWN2dCAAAAI8AAAAKAAAACgFgwioZnBnbQAAAmQAAAGxAAACZVO0L6dnYXNwAAAEGAAAAAgAAAAIAAAAEGdseWYAAAQgAAAFDgAACMz7eroHaGVhZAAACTAAAAAwAAAANgWEOEloaGVhAAAJYAAAAB0AAAAkDGEGa2htdHgAAAmAAAAAEwAAADBEgAAQbG9jYQAACZQAAAAaAAAAGgsICJBtYXhwAAAJsAAAACAAAAAgASgBD25hbWUAAAnQAAACZwAABOD4no+3cG9zdAAADDgAAABsAAAAmF+yXM9wcmV...

Azure DSC Extension v2.5 released
Sep 16, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.5 released

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we released version 2.5 as a minor update that includes additional debug information helpful to diagnose some network issues. This version of the Extension does not include any additional changes. Use "Set-AzureVMDscExtension -Version 2.5" to install this version on your VM (or you can use 2.* if you wish your VM to auto-update when a new version is released.) Please feel free to reach to us posting comments to this post, or by posting feedback on Connect.

Updated DSC Resource Kit available in the PowerShell Gallery
Sep 15, 2015
Post comments count 0
Post likes count 0

Updated DSC Resource Kit available in the PowerShell Gallery

Karol Kaczmarek [MSFT]
Karol Kaczmarek [MSFT]

We’ve been focusing on improving the quality of DSC Resource Kit during last few weeks and are glad to announce that all the fixes are now available in the newest versions of modules on the PowerShell Gallery. We’ve accepted 95 pull requests, fixed 29 issues and updated 20 modules! In addition to that, xWindowsUpdate module got a new resource - xMicrosoftUpdate – allowing to enable or disable Microsoft Update on your target nodes. For detailed list of changes, please scroll to the table at the bottom of this post. We encourage you to install the newest versions from the PowerShell Gallery and st...

PowerShell Runspace Debugging:  Part 1
Sep 8, 2015
Post comments count 0
Post likes count 0

PowerShell Runspace Debugging: Part 1

Paul Higinbotham [MSFT]
Paul Higinbotham [MSFT]

This is the fourth in a series of blogs discussing the new PowerShell 5.0 script debugging features.  These new features are available through the PowerShell 5.0 preview, which is part of the WMF (Windows Management Foundation) 5.0 preview that you can get from HERE. In my last article I talked about the Debug-Job command.  In this blog I will discuss Runspace debugging which is similar to debugging a job.  Runspace debugging is an advanced activity, but is incredibly useful in the right circumstances. A Runspace is an instance of the PowerShell engine within a process.  It defines the context in which a Po...

Azure DSC Extension v2.4 released
Sep 1, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.4 released

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we released version 2.4 of the Azure DSC Extension, which adds support for WMF 5.0 Production Preview. This version of the Extension does not include any additional changes. Use "Set-AzureVMDscExtension -Version 2.4" to install this version on your VM (or you can use 2.* if you wish your VM to auto-update when a new version is released.) Please feel free to reach to us posting comments to this post, or by posting feedback on Connect.

Windows Management Framework 5.0 Production Preview is now available
Aug 31, 2015
Post comments count 0
Post likes count 0

Windows Management Framework 5.0 Production Preview is now available

PowerShell Team
PowerShell Team

We’re excited to announce Windows Management Framework 5.0 Production Preview, a new package introducing new and exciting management technologies, is now available for download on the Microsoft Download Center! As announced earlier, WMF 5.0 Production Preview differs from older previews of WMF 5.0 in the following ways: The following table provides an overview of all scenarios enabled by WMF 5.0 Production Preview. You can read more about these improvements, and other content in WMF 5.0 Production Preview, in the release notes (included in the download with the packages).   WMF 5.0 Productio...

Development builds for DSC Resources are available
Aug 27, 2015
Post comments count 0
Post likes count 0

Development builds for DSC Resources are available

PowerShell Team
PowerShell Team

Note: This blog post is intended to people who participate in the development of DSC Resources on GitHub. We are pleased to announce that we've made developments builds available for all DSC Resource modules on GitHub. From now on, every time Pull Request gets merged, we produce a package with latest changes and upload it on a module-specific NuGet feed. The process is fully automated which means that early adopters/contributors can install and try newest versions of modules right after they are updated! It’s worth pointing out that PowerShell Gallery is still the “Go To” place for all releas...

Azure DSC Extension 2.2 & Updates to Publish-AzureVMDscConfiguration cmdlet for ASM & ARM in Azure PowerShell SDK version 0.9.7
Aug 6, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension 2.2 & Updates to Publish-AzureVMDscConfiguration cmdlet for ASM & ARM in Azure PowerShell SDK version 0.9.7

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we released version 2.2 of the Azure DSC Extension to support new functionality in the Publish-AzureVMDscConfiguration cmdlet. To get the latest changes in the publish cmdlet download Azure Powershell SDK version 0.9.7 In Azure Powershell SDK version 0.9.5 we introduced new set of cmdlets for deploying the Azure DSC Extension with Azure Resource Manager (ARM). You can read more on the DSC Extension ARM cmdlets here. Changes in Publish-AzureVMDscConfiguration cmdlet In the previous blog, we talked about addi...

Windows Management Framework (WMF) 5.0 Roadmap
Aug 6, 2015
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 5.0 Roadmap

PowerShell Team
PowerShell Team

In the next few weeks (August 2015) we will be releasing a supported “Production Preview” of Windows Management Framework (WMF) 5.0. Later, in Q4 of 2015, you should be able to download the RTM version of WMF 5.0. WMF 5.0 Production Preview will differ from previous previews of WMF 5.0 in the following ways: Both of the upcoming supported versions of WMF 5.0 (Production Preview and RTM) will incorporate feedback regularly provided by our community of WMF 5.0 Preview users. Please deploy WMF 5.0 Production Preview and provide early feedback to make WMF 5.0 RTM even better. Relation between PowerS...

PowerShell Gallery – New Security Scan
Aug 6, 2015
Post comments count 0
Post likes count 0

PowerShell Gallery – New Security Scan

PowerShell Team
PowerShell Team

Quality and trust of PowerShell Gallery content have been a concern since the beginning.  These issues were somewhat addressed with peer-monitoring via the Report Abuse and Contact Support links on each module details page.  We even implemented a new cmdlet, Save-Module, which allowed users to assess a module’s contents before installing it.  However, all these scenarios put the onus on the consumer to determine if a module is safe and of high quality. To improve further, we have begun checking that all modules on the Gallery meet a basic quality bar. Starting June 26, 2015, all modules i...

What's new in DSC Resource Kit
Jul 30, 2015
Post comments count 0
Post likes count 0

What's new in DSC Resource Kit

Karol Kaczmarek [MSFT]
Karol Kaczmarek [MSFT]

It’s been another busy month and we’ve seen lots of enthusiasm from many of you to help improve the DSC Resource Kit. In only the last couple of weeks we’ve merged 90 pull requests, 8 new resources have been added to 4 modules (xDefender, xExchange, xWebAdministration, xWindowsUpdate) and another 15 resources across 13 modules were updated! That brings the total number of resources in DSC Resource Kit to 220! We are also very happy to see incoming feedback in the form of new GitHub issues and want you to know that we are looking at all of them - since our last update, 18 issues were addressed an...

Windows Management Framework (WMF) 4.0 Update is coming your way …
Jul 28, 2015
Post comments count 0
Post likes count 0

Windows Management Framework (WMF) 4.0 Update is coming your way …

PowerShell Team
PowerShell Team

Updated 05/03/2016 – On Jan 19th 2016, we had published the Windows Management Framework (WMF) 4.0 update packages for Windows Server 2012 (KB3119938), Windows Server 2008 R2 SP1 (KB3109118), and Windows 7 SP1 (KB3109118) . At this time, these update packages are only available by request through the aforementioned links. See WMF 4.0 Update blog for additional details. As part of the November 2014 Update Rollup (KB3000850) for Windows RT 8.1, Windows 8.1 and Windows Server 2012 R2, we substantially improved stability, diagnosability, and reliability of PowerShell Desired State Configuration (DSC). We also enhance...

Azure DSC Extension v2.1 released
Jul 21, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.1 released

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we released version 2.1 of the Azure DSC Extension, with a bug fix for ARM deployments. The bug we fixed would produce this error message in some ARM deployments: “File lock (C:\Packages\Plugins\Microsoft.Powershell.DSC\1.10.1.0\bin\..\DSCWork\ExtensionHandler.Lock.dsc) exists: another instance of the extension is already running." The error would occur right after reboot. If you see this error message in your deployments we recommend upgrading to version 2.1. Please feel free to reach to us posting comment...

Welcoming the new home of PowerShell
Jul 20, 2015
Post comments count 0
Post likes count 0

Welcoming the new home of PowerShell

Joey Aiello
Joey Aiello

It's been our intent for a while now to establish a single home of PowerShell that reflects the myriad of properties we have spread across the web. Between the Gallery, our blog, Connect, our GitHub repositories, and TechNet documentation, PowerShell is in a lot of places. Today we are proud to announce the launch of the new online home of PowerShell: https://microsoft.com/powershell We've worked hard to establish a new online home for PowerShell and our first release gives users a centralized portal for official PowerShell resources, content, and documentation. The PowerShell homepage modernizes our online bra...

Introducing Azure Resource Manager cmdlets for Azure PowerShell DSC Extension
Jul 20, 2015
Post comments count 0
Post likes count 0

Introducing Azure Resource Manager cmdlets for Azure PowerShell DSC Extension

PowerShell Team
PowerShell Team

Last August we introduced Azure Service Management (ASM) cmdlets for PowerShell Desired State Configuration (DSC). Through these cmdlets released in the Azure PowerShell SDK, you can upload and apply a PowerShell DSC Configuration to an Azure VM. Now, we are introducing new set of cmdlets for deploying DSC Extension with Azure Resource Manager (ARM). You can read more on using Azure PowerShell with ARM here If you already have the Azure PowerShell SDK installed, you will need to update to version 0.9.5   Key differences in ASM and ARM cmdlets   Let’s look at each cmdlet and the ...

Validate PowerShell DSC Debug
Jul 10, 2015
Post comments count 0
Post likes count 0

Validate PowerShell DSC Debug

Michael Greene
Michael Greene

This is part five of a blog series introduced in Validate the new features of PowerShell DSC. New Capability DSC has a new debugging mode that helps with troubleshooting by making it possible to interact with scripts being run by DSC, as they are being applied. When this mode is enabled, as the machine applies the configuration, progress will stop at the first script action to wait for a remote connection to open. Once connected, the person doing the troubleshooting can interact with the session as well as use breakpoints to debug.   What is the purpose of this feature? Customers have requested ad...

Validate PowerShell DSC WaitFor
Jul 9, 2015
Post comments count 0
Post likes count 0

Validate PowerShell DSC WaitFor

Michael Greene
Michael Greene

This post is part four of a blog series introduced here: Validate the new features of PowerShell DSC. New Capability WaitFor is a new set of built-in configuration resources. Including the WaitFor resources in a configuration tells the configuration target machine that it should communicate with the Local Configuration Manager on a remote machine to verify that the remote has returned success, before the target machine continues its deployment. The WaitFor resources need to know which nodes to check, which DSC resource must complete successfully, how often to check, and how long to wait between checks. W...

Validate PowerShell DSC Partial Configurations
Jul 8, 2015
Post comments count 0
Post likes count 0

Validate PowerShell DSC Partial Configurations

Michael Greene
Michael Greene

This post is part three of a blog series introduced in Validate the new features of PowerShell DSC.   New Capability   DSC now has the ability to merge partial configurations into one configuration for management.   What is the purpose of this feature? Customers have told us that in some cases, multiple teams contribute to a configuration. It can be organizationally challenging to manage a collective configuration. Customers want to be able to allow individual teams to author the portions of the configuration for which they are responsible, and then use the DSC Local Configuration Ma...

Registration is Now Open to Publish on PowerShell Gallery
Jul 7, 2015
Post comments count 0
Post likes count 0

Registration is Now Open to Publish on PowerShell Gallery

PowerShell Team
PowerShell Team

We are excited to announce that, as of today, the PowerShell Gallery will accept registration from any users who wish to publish PowerShell modules and share their work with the world. For the past year, the PowerShell Gallery has been slowly adding content from our closest community contributors, most of whom are Most Valuable Professionals (MVPs) and internal Microsoft contributors. While we were building the basic features of the PowerShell Gallery, we restricted the set of people who could publish new modules, and required an approval step before allowing users to register. This approach provided the PowerShe...

Validate PowerShell DSC Node Status
Jul 7, 2015
Post comments count 0
Post likes count 0

Validate PowerShell DSC Node Status

Michael Greene
Michael Greene

This is part of a blog series first referenced here: Validate the new features of PowerShell DSC New Capability A new cmdlet is available named Get-DscConfigurationStatus. This cmdlet returns detailed information about the status of a node. What is the purpose of this feature? Customers have told us that they need to be able to get more information about the state of a machine that is managed using DSC. In response, we have introduced a new cmdlet that is meant to begin addressing the issue. What is the easiest way to test it? You can run just the cmdlet with no special settings for basic information, o...

Validate PowerShell DSC RunAsCredential
Jul 6, 2015
Post comments count 0
Post likes count 0

Validate PowerShell DSC RunAsCredential

Michael Greene
Michael Greene

This is the first part of a blog series originally referenced here. - Validate the new features of PowerShell DSC New Capability A new property, PSDSCRunAsCredential, is now available to specify a user credential that should be used to execute all work performed by a DSC resource. This capability is being introduced as a common property that can be used even for existing resources.   What is the purpose of this feature? PowerShell DSC by default executes in the context of the machine System account, LocalSystem. That works well for the most part but there are cases where execution needs to occu...

Validate features of PowerShell DSC
Jul 6, 2015
Post comments count 0
Post likes count 0

Validate features of PowerShell DSC

Michael Greene
Michael Greene

As many readers of the PowerShell blog already know, the next version of PowerShell is currently in preview. It is available in the Windows Management Framework 5 Preview. You can install this package on Windows 7, Server 2008 R2, or later. Your feedback is important to us! After software ships, it is harder to introduce changes. There is a risk that any change could break something for customers who are using the current codebase. If you can get feedback while in preview it is usually easier to make changes. For this reason we are asking anyone who can take a moment to validate new features and functionality, ...

Use DSC to manage WMI namespace security
Jun 29, 2015
Post comments count 0
Post likes count 0

Use DSC to manage WMI namespace security

Steve Lee
Steve Lee

Almost 6 years ago, I wrote some PowerShell scripts in a multi-part series explaining WMI namespace security and also how to manage them using PowerShell. If you're not familiar with WMI namespace security, I recommend reading the blog posts above or even as a refresher. I received some feedback fairly recently about some issues and this presented itself as an opportunity for me to revisit this topic, but rewrite it as a DSC resource using the new PowerShell Classes syntax. Since I'm using PowerShell classes, you'll need either Windows 10, Windows Server 2016 Preview, or Windows Management Framework 5.0 install...

DSC Resource Kit flourishes as open source
Jun 23, 2015
Post comments count 0
Post likes count 0

DSC Resource Kit flourishes as open source

PowerShell Team
PowerShell Team

We are excited to announce the recent updates which were made to DSC Resource Kit since open sourcing it on GitHub! We were working hard on improving coverage and robustness of DSC as well as saw incredible engagement from the community in the recent months. That effort resulted in adding 32 new DSC resources across 8 modules and fixing bugs in 22 resources across 17 modules since last release at the beginning of May! It means that we’ve achieved our next milestone of 200 resources and are now up to a total of 212 DSC resources! For those who love numbers as much as we do, here’s couple other statist...

Want to write a DSC resource where only a single instance can be configured?
Jun 22, 2015
Post comments count 0
Post likes count 0

Want to write a DSC resource where only a single instance can be configured?

Travis Plunk
Travis Plunk

I've heard from a few DSC resource authors that they need a method to implement a resource that has a single instance; a singleton. The problem they encountered is a DSC resource must define a Key property but singleton resources generally should not have a key because there is only one instance that can be updated. The problem can been seen by examining the xTimeZone and xRemoteDesktopAdmin resources. xTimeZone configures the system's current time zone and uses the time zone as the key. The problem is this would let you specify the time zone multiple times during your configuration even though there is on...

Azure DSC Extension v2.0 released
Jun 17, 2015
Post comments count 0
Post likes count 0

Azure DSC Extension v2.0 released

PowerShell Team
PowerShell Team

NOTE: For information on OS support, and other features, please refer to our release history. Today we are releasing version 2.0 of the Azure DSC Extension, with improvements for DSC configurations that reboot the VM, and fixes for ARM deployments. We are releasing this version as a major version change, instead of a minor revision, because you may need to modify your DSC configuration in order to use this release. The changes in this release might affect you if Otherwise, the Extension should have the same behavior as in previous versions and you should have no problem continuing to use the same DSC config...

PowerShell ♥ the Blue Team
Jun 9, 2015
Post comments count 0
Post likes count 3

PowerShell ♥ the Blue Team

PowerShell Team
PowerShell Team

(Warning: Long blog post ahead! If you’d like to read (or share) this as a whitepaper, you can download it here: “Scripting Security and Protection Advances in Windows 10”). At Microsoft, we invest an enormous amount of time and energy managing world-class cloud services and incredibly large enterprise networks. Security is critical for all of these – so what might surprise you is that we also invest enormous amounts of time and energy trying to break into those services. This is called Red Teaming – taking highly specialized groups of security experts and having them adopt the role of sophisticated adversaries...

Looking Forward: Microsoft Support for Secure Shell (SSH)
Jun 3, 2015
Post comments count 0
Post likes count 5

Looking Forward: Microsoft Support for Secure Shell (SSH)

PowerShell Team
PowerShell Team

[UPDATE]: Read more about our detailed plans, roadmap, and where you can play with the in-progress code here. As Microsoft has shifted towards a more customer-oriented culture, Microsoft engineers are using social networks, tech communities and direct customer feedback as an integral part on how we make decisions about future investments. A popular request the PowerShell team has received is to use Secure Shell protocol and Shell session (aka SSH) to interoperate between Windows and Linux – both Linux connecting to and managing Windows via SSH and, vice versa, Windows connecting to and managing Linux via SSH. ...

How to register a node with a DSC pull server
May 29, 2015
Post comments count 0
Post likes count 0

How to register a node with a DSC pull server

PowerShell Team
PowerShell Team

NOTE - The latest information regarding DSC Pull Service can be found in the DSC documentation using the link: https://docs.microsoft.com/en-us/powershell/dsc/pullserver .......... In PowerShell 4.0, each node in a DSC configuration identifies itself to the pull server with its ConfigurationId, a GUID. In the case of pull mode (where a node downloads the configuration from a pull server), this ConfigurationId also maps to the name of the configuration document (the MOF file) stored on the pull server (you can read more about pull vs. push modes in this blog). As the configuration document’s name is a GUID and ...

Azure PowerShell DSC Extension v1.10 released
May 15, 2015
Post comments count 0
Post likes count 0

Azure PowerShell DSC Extension v1.10 released

PowerShell Team
PowerShell Team

NOTE: You can find more information on the DSC Extension in our release history. Today we released a minor update to the Azure DSC Extension: version 1.10.1.0. This update addresses a couple of issues that were producing false error messages on some ARM deployments. Please feel free to give us your feedback as comments to this post, or using Connect: https://connect.microsoft.com/PowerShell/Feedback.

Update JEA for the April WMF 5.0 Preview
May 14, 2015
Post comments count 0
Post likes count 0

Update JEA for the April WMF 5.0 Preview

PowerShell Team
PowerShell Team

This year, at the Ignite Conference, we presented Just Enough Administration (JEA), a PowerShell toolkit for granularly managing administrator privileges.  Older versions of JEA do not work with the recently released  April WMF 5.0 Preview.  This is due to an issue with WinRM when registering a new endpoint.  The latest version (0.2.16.6) of JEA contains a workaround, and is available in the PowerShell Gallery.  Please install this version of the module to use JEA with the April WMF 5.0 Preview. If you are updating an existing system with JEA to the April WMF 5.0 Preview, please take the...

MSIgnite BRK4452 – Writing Windows PowerShell DSC Resources and Configurations
May 11, 2015
Post comments count 0
Post likes count 0

MSIgnite BRK4452 – Writing Windows PowerShell DSC Resources and Configurations

PowerShell Team
PowerShell Team

Recordings of  MS Ignite 2015 session BRK4452: Writing Windows PowerShell DSC Resources and Configurations are now available online. As mentioned in the session you can download the demo modules using the following code:    Find-Module -Tag BRK4452 -OutVariable Modules  $Modules | % {Install-Module -Name $_.Name -Verbose -Force}     Happy Scripting !!!   Narayanan Lakshmanan Principal Software Engineering Manager Windows PowerShell Team    

PowerShell DSC for Linux is now available!
May 5, 2015
Post comments count 0
Post likes count 0

PowerShell DSC for Linux is now available!

Kris Bash
Kris Bash

We are pleased to announce that PowerShell Desired State Configuration for Linux (version 1) is available for download. You can now use the powerful Desired State Configuration (DSC) platform to manage the configuration ofboth Windows and Linux workloads with a familiar PowerShell interface. Bringing DSC to Linux is another step in Microsoft’s broader commitment to common management of heterogeneous assets in your datacenter or the public cloud. After reviewing the Getting Started guide, you can get DSC for Linux (rpm/deb packages) here; DSC depends on OMI server 1.0.8-1, which is available (rpm/deb package...

Desired State Configuration Resources for PackageManagement Providers
May 5, 2015
Post comments count 0
Post likes count 0

Desired State Configuration Resources for PackageManagement Providers

PowerShell Team
PowerShell Team

Introduction You may have heard of, or even already used PackageManagement (aka OneGet). Recently, I was reading the OneGet blog and OneGet in GitHub, and decided to give it a try by installing the Windows Management Framework (WMF) 5.0 Preview April 2015. I found that PackageManagement provides a consistent user experience by exposing the same set of PowerShell Cmdlets for different flavors of software installation technologies, such as PowerShell modules, NuGet packages, MSI, MSU, etc. It’s indeed a unified package management framework. So I decided to write some Desired State Configuration (DSC) resource...

ScriptAnalyzer in GitHub and availability on PowerShell Gallery
Apr 29, 2015
Post comments count 0
Post likes count 0

ScriptAnalyzer in GitHub and availability on PowerShell Gallery

PowerShell Team
PowerShell Team

With the release of Windows Management Framework 5.0 April Preview, we are excited to announce that PowerShell ScriptAnalyzer development has moved to GitHub for greater collaboration & community involvement. https://github.com/PowerShell/PSScriptAnalyzer  Also, we have published v1.0 of ScriptAnalyzer to PSGallery. https://www.powershellgallery.com/packages/PSScriptAnalyzer/  Here are the significant changes in this release: 

Windows Management Framework 5.0 Preview April 2015 is now available
Apr 29, 2015
Post comments count 0
Post likes count 0

Windows Management Framework 5.0 Preview April 2015 is now available

PowerShell Team
PowerShell Team

We’re excited to announce Windows Management Framework 5.0 Preview April 2015, a new package introducing new andexciting management technologies, is now available for download on the Microsoft Download Center! This Windows Management Framework (WMF) preview includes everything from WMF 5.0 Preview February 2015 plus some new features. The following table provides an overview of the new and updated features in WMF 5.0 Preview April 2015.     You can read more about these mprovements and all the other content within WMF 5.0 Preview April 2015 in therelease notes (included in the download with the p...

Azure PowerShell DSC Extension v1.8/v1.9 released
Apr 28, 2015
Post comments count 0
Post likes count 0

Azure PowerShell DSC Extension v1.8/v1.9 released

PowerShell Team
PowerShell Team

UPDATE 04/29/2015: We found an issue during install in ARM deployments. A fix is available as v1.9. NOTE: You can find more information on the DSC Extension in our release history. Today we are releasing version 1.8 of the Azure DSC Extension, updated with the latest WMF 5.0 Preview (April 2015). With this update we are adding support for Windows Server 2008 R2 SP1. Please feel free to give it a try and give us your feedback using Connect: https://connect.microsoft.com/PowerShell/Feedback. Windows Server 2012 and 2012 R2 are also supported. Note that, as in previous versions of the Extension, the install process ...