PowerShell Team

Automating the world one-liner at a time…

OpenSSH Security Testing Kick Off

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. (image) Security is obviously something that we have focused on during every phase of the project. As part of this ...

DSC Configuration Sharing

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

DSC Resource Kit Release April 2017

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

A Comparison of Shell and Scripting Language Security

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

Regular cadence for PowerShell Core Community Call

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

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

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

DSC Resource Kit Release March 2017

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

Using PowerShell Modules in Azure Functions

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

Code Coverage – Part 2

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

Managing Security Settings on Nano Server with DSC

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