PowerShell v4 Desired State Configuration

Home > Blogs > PowerShell > PowerShell v4 Desired State Configuration

PowerShell v4 Desired State Configuration

Like This Blog 0 Jason Helmick
Added by July 8, 2013

Microsoft TechEd is a great conference to attend to learn about the latest technologies and this year was no exception. The announcement of the upcoming release (Dates not specified) of PowerShell v4 in Windows Server 2012 R2 caused quite a stir.

Yes, most of us were expecting PowerShell to get its usual incremental updates and bug fixes when the server OS releases, but the addition of a very special new feature was a surprise. Jeffrey Snover and Kenneth Hansen held a special session (one that was unnamed until TechEd opened) to discuss Desired State Configuration (DSC).

In a nutshell, DSC let’s administrators write a simple script that describes what a computer should look like. That doesn’t sound like much, but once you describe what you want, PowerShell will take those “declarative” instructions and make the computer look just as described without the Admin needing to write all the plumbing (how to) scripts. Almost everything can be configured such as roles, features, registry settings and more. Imagine creating a description once, then start adding computers – physical or virtual – they will automatically become exactly what you wanted. Pretty damn cool if you ask me and will make rapid scaling fully automated.

Why do this? Simple, – Scaling up without adding human error and management overhead. You can rapidly respond to the changing business needs without increasing failure.

Now, is this something totally new? – well, no. This could be accomplished before by manually scripting all the parts and kicking of the scripts when you needed them, but it required a lot of work creating controlling scripts and testing the results. Now Microsoft has made the scripting easier and included the infrastructure to make it work without you manually scheduling jobs and re-running scripts. For a great example, go watch the video of Jeffrey and Kenneth describe DSC.

One of the many reasons to attend a conference like TechEd is because of the social networking. Don Jones and I discussed the implications of DSC and how it might affect the industry and product teams going forward. With this built into the core OS, other product teams could in fact utilize this – I wonder if this could affect a future release of SCCM? Also, many questions swam around my head about how this works under the covers – Why not ask Jeffrey and Kenneth? It’s the ability to talk to Team members and get their views that makes conferences worth the money. You get to speak to the people that are making the technology, gain a deeper understanding, even have input into the new technologies. Over the next several days I got my questions answered (as best as can be done without violating NDA) and learned much more.

Until next time,

Knowledge is PowerShell
Jason Helmick
Systems Instructor
Interface Technical Training

Videos You May Like

A Simple Introduction to Cisco CML2

0 3699 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Configuring Windows Mobility Center and How to Turn it On and Off

1 1411 1

Video transcription Steve Fullmer: In our Windows training courses, we often share information about the Windows 8.1 Mobility Center. Mobility Center was introduced for mobile and laptop devices in Windows 7. It’s present and somewhat enhanced in Windows 8. Since we don’t have mobile devices in our classrooms, I decided to take a little bit … Continue reading Configuring Windows Mobility Center and How to Turn it On and Off

OSPF Adjacency Troubleshooting Solution – Getting Close to the OSPF adj

0 247 1

In this video, Cisco CCNA & CCNP instructor Mark Jacob shows how to troubleshoot OSPF Adjacency issues by showing the distance between routers with the show ip ospf neighbor command.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.