PowerShell Team

Automating the world one-liner at a time…

Chef with PowerShell DSC Now Public!

Many of you have seen the demos done by our friends at Chef, which show how they planned to leverage PowerShell DSC. Those plans are now public as of the publishing of the PowerShell DSC Cookbook for Chef announced in the recent blog post by Adam Edwards. Check it out here:  http://www.getchef.com/blog/2014/07/24/getting-ready-for-chef-...

Creating a Secure Environment using PowerShell Desired State Configuration

Introduction: Traditionally, IT environments have secured their business critical information against external threats by adding additional layers of security to the org’s network (e.g. firewalls, DMZs, etc.).  However many of today’s attacks are coming from inside the network so a new “assume breach” approach must...

PowerShell DSC Resource Kit Wave 5 Arrives

The PowerShell DSC Resource Kit Wave 5 is now available for your use. This wave contains 10 new DSC resources, taking us up to 77 total resources between the Resource Kits and what is shipping in Windows 8.1/Server 2012 R2. In response to a number of requests, DSC Reskit Wave 5 also includes an end-to-end example, with a configuration for ...

DSC Resource Kit Wave 4 is Live!

The value and number of PowerShell Desired State Configuration (DSC) resources coming from Microsoft continues to grow. As of the release of DSC Resource Kit Wave 3, we were up to 50 total.   Now, we're happy to announce the DSC Resource Kit Wave 4.  This wave contains 16 new DSC resources, taking us up to 67 total resources ...

Wish I can author DSC Resource in C#!!

In previous blog, we learned how one can use their PowerShell skills to author DSC resources very easily. Still there are folks (we met some at TechEd NA) who want to author their DSC resources using C# because they are more productive with it than PowerShell language. Well, you can fully leverage the power of DSC by writing your resources in ...

Announcing Windows PowerShell Desired State Configuration for Linux

For those of you fortunate enough to be at TechEd North America last week, you might have seen Jeffrey Snover announcing Windows PowerShell Desired State Configuration (DSC) for Linux!  (If you missed that session, you can watch a replay of it online).  We are excited to announce the initial availability of this feature with the...

Understanding Import-DscResource Keyword in Desired State Configuration

Desired State Configuration resources are used to model and change the state of different components of the system. In an earlier blog post, we discussed details about deploying and discovering those resources and introduced Import-DscResource dynamic keyword. In this post, we will discuss some more details about the usage and internal ...

Debug Mode in Desired State Configuration

The DSC engine caches resources implemented as a PowerShell module for efficiency purposes. This can sometimes turn out to be annoying, when you are authoring a resource and testing it simultaneously. The only way to cause DSC to load the newer version every time is to explicitly kill the process hosting the DSC engine. As part of the WMF5 ...

Windows Management Framework V5 Preview

The Windows Management Framework V5 Preview is out! Check out Jeffrey Snover's announcement here. The preview contains updates to PowerShell Desired State Configuration, as well as two new features: NetworkSwitch cmdlets and Windows PowerShell OneGet.  OneGet is designed to dramatically simplify how you discover and install software ...

DSC Resource Kit Wave 3

In September, Microsoft released PowerShell Desired State Configuration (DSC) with twelve built in resources.   Three months later (December), we added eight more resources with Wave One of the DSC Resource Kit.   Two months after that (February), we totaled fourteen additional resources with Wave Two of the DSC Resource Kit.  ...