PowerShell

Automating the world one-liner at a time…

PowerShell Logo
Using PowerShellGet with Azure Artifacts

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:

Non-PAT authentication for package management
Credential persistence in Register-PSRepository

These improvements will effect the following cmdlets:

Register-PSRepository
Set-PSRepository
Find-Module/Script
Install-Module/Script
Update-Module/Script
Save-Module/Script
Publish-Module/Script

What is Azure Artifacts and Why would I use it?

PowerShell Logo
PowerShell 7 Roadmap

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.

PowerShell Logo
DSC Resource Kit Release May 2019

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:

ActiveDirectoryCSDsc
CertificateDsc
ComputerManagementDsc
NetworkingDsc
OfficeOnlineServerDsc
PSDscResources
SharePointDsc
SqlServerDsc
StorageDsc
xActiveDirectory
xDnsServer
xFirefox
xPSDesiredStateConfiguration
xWebAdministration

For a detailed list of the resource modules and fixes in this release,

PowerShell Logo
Public Preview of PowerShell in Azure Functions 2.x

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).

PowerShell Logo
Using PSScriptAnalyzer to check PowerShell version compatibility

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,

PowerShell Logo
PowerShell Core Release Improvements

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.

PowerShell Logo
The Next Release of PowerShell – PowerShell 7

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 PowerShell 7, the reasons for which will be explained in this blog post.

PowerShell Logo
DSC Resource Kit Release April 2019

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:

CertificateDsc
ComputerManagementDsc
NetworkingDsc
OfficeOnlineServerDsc
SecurityPolicyDsc
SharePointDsc
SqlServerDsc
StorageDsc
xActiveDirectory
xPSDesiredStateConfiguration
xSMBShare
xWindowsUpdate
xWinEventLog

xWebAdministration is also in the pipeline for release as soon as it passes all tests.

PowerShell Logo
The PowerShell Gallery is now more Accessible

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.

PowerShell Logo
LiveFyre commenting will no longer be available on the PowerShell Gallery

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.

PowerShell

PowerShell Logo
Improvements in Windows PowerShell Container Images

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).

PowerShell Logo
PowerShell 7 Preview 6

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.

PowerShell Logo
PowerShell Extension Roadmap

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,

PowerShell Logo
DSC Resource Kit Release October 2019

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 Logo
PowerShell 7 Preview 5

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.

PowerShell Logo
DSC Resource Kit Release September 2019

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 Logo
PowerShell 7 Preview 4

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.

PowerShell Logo
Updating Help for older versions of PowerShell

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.

PowerShell Logo
Release of PowerShell Script Analyzer (PSScriptAnalyzer) 1.18.2

In keeping with the tradition of releasing improvements to PSScriptAnalyzer 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),

PowerShell Logo
PowerShell ForEach-Object Parallel Feature

PowerShell ForEach-Object Parallel Feature
PowerShell 7.0 Preview 3 is now available with a new ForEach-Object Parallel 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,