PowerShell Team

Automating the world one-liner at a time…

Latest posts

Apr 5, 2019
Post comments count 7
Post likes count 0

PowerShell Core Release Improvements

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.

Apr 5, 2019
Post comments count 31
Post likes count 0

The Next Release of PowerShell – PowerShell 7

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

Apr 3, 2019
Post comments count 2
Post likes count 0

DSC Resource Kit Release April 2019

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

Apr 1, 2019
Post comments count 1
Post likes count 0

The PowerShell Gallery is now more Accessible

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

Mar 29, 2019
Post comments count 3
Post likes count 0

LiveFyre commenting will no longer be available on the PowerShell Gallery

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

Mar 28, 2019
Post comments count 3
Post likes count 0

General Availability of PowerShell Core 6.2

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

Mar 22, 2019
Post comments count 2
Post likes count 0

PowerShell ScriptAnalyzer Version 1.18.0 Released

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

Mar 18, 2019
Post comments count 0
Post likes count 0

The PowerShell Extension is now in the Azure Data Studio Marketplace

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

Mar 11, 2019
Post comments count 0
Post likes count 0

Invoke-Sqlcmd is Now Available Supporting Cross-Platform

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