Windows PowerShell Desired State Configuration Revealed

By Ravikanth Chaganti

PowerShell 4.0 introduces desired state configuration (DSC), a powerful new feature that makes it easier than ever to manage your Windows infrastructure, whether on-premise or in the cloud. Starting with a little PowerShell scripting knowledge, Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish.

Full Description

  • ISBN13: 978-1-484200-17-9
  • 316 Pages
  • User Level: Beginner to Advanced
  • Publication Date: October 1, 2014
  • Available eBook Formats: EPUB, MOBI, PDF
  • Print Book Price: $49.99
  • eBook Price: $34.99
Buy eBook Buy Print Book Add to Wishlist

Related Titles

Full Description

Desired State Configuration (DSC) is a powerful new configuration management platform that makes it easier than ever to perform cross-platform configuration management of your infrastructure, whether on-premise or in the cloud. DSC provides the management platform and Application Programming Interface (API) that can be used with any programming language. Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish and demonstrates the DSC interfaces through Windows PowerShell.

DSC allows you to manage target devices by simply declaring what state you want them to be in, using new declarative language extensions, rather than writing detailed instructions to get them into that state. This makes continuous delivery in Windows easier than ever before. In an environment where changes and deployments are happening all the time, DSC makes the necessary adjustments to the system so you don’t have to.

Windows PowerShell Desired State Configuration Revealed starts with an overview of the configuration management features in Windows, followed by a discussion of the architecture of DSC and its components. You’ll then explore DSC’s built-in features and resources, followed by some of the different methods provided for delivering configuration information within your ecosystem, and learn about configuration monitoring and reporting. In the latter part of the book, you’ll find out how to get more power out of DSC by writing your own custom DSC resources, including a range of useful examples, and the book concludes with vital information on deploying and troubleshooting DSC in a production environment, along with some expert tips and tricks you might find useful along the way.

Windows PowerShell Desired State Configuration Revealed is your one-stop guide to this new technology and how it can change your working life for the better.

What you’ll learn

  • Why continuous delivery and configuration management are important
  • Architecture and components of DSC
  • How to build the infrastructure required to automate configuration management
  • How to use built-in resources and create configuration documents
  • How to create custom DSC resources
  • How to troubleshoot DSC configuration and custom resource issues

Who this book is for

Windows PowerShell Desired State Configuration Revealed is for IT administrators, developers and DevOps engineers working in Windows-based data center environments. With a little prior PowerShell scripting experience, this book can be used as an in-depth reference to creating, customizing and extending DSC in Windows. IT administrators with limited scripting experience will also find this book a useful overview of what DSC offers and how to use DSC resources to automate configuration management and deployment.

DSC is available as part of Windows 8.1 and Windows Server 2012 R2. You can also get DSC on Windows 7, Windows Server 2008 R2 or Windows Server 2012 by installing Windows Management Framework 4.0.

Table of Contents

Table of Contents

Part I: Introduction to Windows PowerShell

Chapter 1: Beginning Windows PowerShell

Chapter 2: Introducing Windows Remote Management and CIM

Part II: Desired State Configuration

Chapter 3: Introducing Desired State Configuration

Chapter 4: Getting Started with DSC

Chapter 5: Using Built-in DSC Resources

Chapter 6: Building Advanced DSC Configurations

Part III: Advanced DSC Concepts and Tips

Chapter 7: DSC Configuration Delivery Modes

Chapter 8: Monitoring, Correcting, and Reporting Configuration

Chapter 9: Building Custom DSC Resources

Chapter 10: Troubleshooting Common DSC Issues

Chapter 11: DSC - From the Field

Appendix A: DSC Community Resources

Appendix B: WMF 5.0 and DSC for Linux

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.

Errata

Please Login to submit errata.

No errata are currently published