PowerShell Team

Automating the world one-liner at a time…

Latest posts

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

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

Aug 3, 2018
Post comments count 0
Post likes count 0

PowerShell Injection Hunter: Security Auditing for PowerShell Scripts

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

Jul 31, 2018
Post comments count 0
Post likes count 0

Increased Windows Modules coverage with PowerShell Core 6.1

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

Jul 25, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release July 2018

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

Jul 20, 2018
Post comments count 0
Post likes count 1

PowerShell Core now available as a Snap package

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

Jun 14, 2018
Post comments count 0
Post likes count 0

PowerShell Script Analyzer 1.17.1 Released!

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

Jun 13, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release June 2018

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

May 2, 2018
Post comments count 0
Post likes count 0

DSC Resource Kit Release May 2018

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

Apr 19, 2018
Post comments count 0
Post likes count 0

Windows Pull Server Planning Update – April 2018

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