Book Image

Learning PowerShell DSC - Second Edition

By : James Pogran
Book Image

Learning PowerShell DSC - Second Edition

By: James Pogran

Overview of this book

The main goal of this book is to teach you to configure, deploy, and manage your system using the new features of PowerShell v5/v6 DSC. This book begins with the basics of PowerShell Desired State Configuration, covering its architecture and components. It familiarizes you with the set of Windows PowerShell language extensions and new Windows PowerShell commands that make up DSC. Then it helps you create DSC custom resources and work with DSC configurations with the help of practical examples. Finally, it describes how to deploy configuration data using PowerShell DSC. Throughout this book, we will be focusing on concepts such as building configurations with parameters, the local configuration manager, and testing and restoring configurations using PowerShell DSC. By the end of the book, you will be able to deploy a real-world application end-to-end and will be familiar enough with the powerful Desired State Configuration platform to achieve continuous delivery and efficiently and easily manage and deploy data for systems.
Table of Contents (9 chapters)

Handling change

After successfully running DSC in production for all this time, you sit back amazed that all the work you have been doing is addictive. You haven't had to undo work you've previously done to get something new automated, and you can handle the most insane list of requirements life can dish out with ease.

Of course, it wasn't always easy and might have required some extra thought or preparation. It might have required changing how you approached things to something more aligned with the configuration management processes you read in the beginning of the book. DSC didn't have a DSC resource built in for every piece of software in your environment or every task you needed to accomplish, but we can say that for any CM product on the market. The point of any CM is not to provide a way to do everything but to provide a way to do most things, along...