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)

DSC cross-platform support

One of the earliest concepts we covered in this book was that DSC is a platform that enables the management of target nodes. It's a platform because it provides the low-level tools that higher-level abstractions can take advantage of. An example of this is Puppet or Chef integrating with DSC by directly invoking DSC resources inside their own manifests. A better example is DSC managing more than just Windows operating systems.

Up until now, DSC only installed and managed Windows OS desktop and server platforms. As we covered in the first chapters of this book, DSC comes bundled in the WMF installation for the OS you are using, the latest of which is WMF 5.1. The WMF 5.1 release includes Windows PowerShell 5.1, which is the last major version of Windows PowerShell that will be released. Implied in the name, Windows PowerShell is only installable...