Patterns for Implementing a DSC Pull Server Environment

My Patterns for Implementing a DSC Pull Server Environment talk from the PowerShell Summit is now online. Enjoy! Related posts: Life and Times of a DSC Resource Building Scalable Configurations With DSC Desired State Configuration – General Availability Changes Going Deeper on DSC Resources


Building Scalable Configurations With DSC

My Building Scalable Configurations with DSC talk from the PowerShell Summit is now online. Enjoy! Related posts: Life and Times of a DSC Resource Patterns for Implementing a DSC Pull Server Environment Desired State Configuration – General Availability Changes Going Deeper on DSC Resources


Life and Times of a DSC Resource

My Life and Times of a DSC Resource talk from the PowerShell Summit is now online. Enjoy!   Related posts: Building Scalable Configurations With DSC Patterns for Implementing a DSC Pull Server Environment Desired State Configuration – General Availability Changes Going Deeper on DSC Resources


Going Deeper on DSC Resources

Desired State Configuration is a very new technology and declarative configuration management is a very young space yet.  We (Microsoft and the community) are still figuring out the best structure for resources, composite configurations, and other structures. That said, there are certain viewpoints that I’ve come to, either from hands on experience or in watching how other communities (like the Puppet community or Chef community) handle similar problems. How Granular Should I Get? There is no absolute answer. Very, Very Granular Resources should be very granular in the abstract, but in practice, you may need to make concessions to improve […]


Building Desired State Configuration Custom Resources

Now that we’ve suitably rested, let’s get back to working with Desired State Configuration.  Now, there are some basic features to work with that ship by default and the PowerShell team has been blogging some additional resources, but in order to do some really interesting thing with DSC, we’ll need to create our own resources. The High Points Overview  Configuring the Pull Server (REST version) Creating Configurations (one of two, two of two) Configuring Clients Building Custom Resources (this post) Packaging Custom Resources Advanced Client Targeting The DSC Resource Structure DSC resources are (at their most basic) a PowerShell module.  These […]


Configuring a Desired State Configuration Client

Once we have our pull server in place and we’re starting to create configurations, we need to set up our client nodes to be able to connect to the pull server and how we want the node to behave. The High Points Overview Configuring the Pull Server (REST version) Creating Configurations (one of two, two of two) Configuring Clients (this post) Building Custom Resources Packaging Custom Resources Advanced Client Targeting Examining the Local Configuration Manager The Desired State Configuration agent included in Windows Management Framework 4 (or natively on Server 2012 R2 / Windows 8.1) is exposed through the Local […]


Desired State Configuration – General Availability Changes

PowerShell DSC, along with Windows Server 2012 R2 has reached General Availability!  Yay! However, there is (at least one so far) breaking change in Desired State Configuration (DSC). Fortunately, the change is in an area I haven’t blogged about yet.. creating custom resources.  Unfortunately, it does mean I’ll have to update the GitHub repository and all my internal content (should be done by early next week). The short version is that DSC resources are now resources inside modules, rather than each resource being independent modules.  The benefit of this is that now DSC resources won’t pollute the module scope, each resource won’t […]


Building a Desired State Configuration Configuration – Part 2

Ok, let’s get back to creating a DSC configuration.  If you haven’t read the last post in this series, go back and do that now, I’ll wait.  Now with that out of the way, let’s get back to it… The High Points Overview Configuring the Pull Server (REST version) Creating Configurations (one of two, two of two – this post) Configuring Clients Building Custom Resources Packaging Custom Resources Advanced Client Targeting Picking Back UP Now that we have some of the basics down, we can start to look deeper at how composable these configurations are. A DSC configuration defined in […]


Building a Desired State Configuration Configuration

Now that’s a title!  We’ve worked through my reasoning as to why I want Desired State Configuration (DSC) and how to build a pull server.  Today and in the next post we are going to look at how to create configurations which describe how our target systems are supposed to work. The High Points Overview Configuring the Pull Server (REST version) Creating Configurations (one of two – this post, two of two) Configuring Clients Building Custom Resources Packaging Custom Resources Advanced Client Targeting Building Configurations Configurations are the driving force for DSC.  A configuration is a Managed Object Format (MOF) […]


Building a Desired State Configuration Pull Server

Quick recap, I’m working through a series of posts about the Desired State Configuration infrastructure that I’m building at Stack Exchange, including some how-to’s. The High Points Overview Configuring the Pull Server (REST version) (this post) Creating Configurations (one of two, two of two) Configuring Clients Building Custom Resources Packaging Custom Resources Advanced Client Targeting I started with an overview of what and why.  Today, I’m going to start the how. Building a Pull Server I’m going to describe how to do this with Server 2012 R2 RTM (NOTE: this is not the General Availability  release, so there may be […]


Building a Desired State Configuration Infrastructure

This is a the kickoff in a series of posts about building a Desired State Configuration (DSC) infrastructure. I’ll be leveraging concepts I’ve been working on as I’ve been building out our DSC deployment at Stack Exchange. The High Points Overview (this post) Configuring the Pull Server (REST version) Creating Configurations (one of two, two of two) Configuring Clients Building Custom Resources Packaging Custom Resources Advanced Client Targeting I’m starting today with the general overview of what I’m trying to accomplish and why I’m trying to accomplish this. The what and why are critical in determining the how The Overview […]


Need Desired State Configuration Modules?

You’ve probably been hearing about Desired State Configuration from a number of sources (Runas Radio, the PowerScripting Podcast, or the Channel 9 TechEd video for example).  If you haven’t go check out those previously mentioned resources, I’ll wait… Ok, now that you have a basic understanding of what Desired State Configuration (DSC) is, I have an announcement. PowerShell.Org is building a repository of DSC modules for the community to use and contribute to. As I’ve started working with Desired State Configuration, I began building up a repository of modules I would use in configuring my systems.  I started to round them […]