Learning PowerShell DSC - Second Edition

A learning guide to get you started with PowerShell DSC.

Learning PowerShell DSC - Second Edition

James Pogran

A learning guide to get you started with PowerShell DSC.
Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781787287242
Paperback272 pages

Book Description

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

Chapter 1: Introducing PowerShell DSC
What is PowerShell DSC?
Why do we need configuration management?
DSC quick wins
DSC high-level overview
Why all the abstraction?
How does DSC help?
DSC features
PowerShell V4 DSC
PowerShell V5 DSC
PowerShell V6 DSC
Summary
Chapter 2: DSC Architecture
Overview
Push and pull modes
The general workflow
The example workflow
Configuration data
Local Configuration Manager
The DSC pull server
Deployment considerations
Summary
Chapter 3: DSC Configuration Files
Defining a DSC configuration script file
Defining a DSC configuration data file
Creating reusable DSC configurations
Debugging and troubleshooting configuration script files
Summary
Chapter 4: DSC Resources
What are DSC resources?
Summary
Chapter 5: Pushing DSC Configurations
Tooling
Setting things up
Locally pushing DSC configurations
Remotely pushing DSC configurations
Things you must consider when pushing DSC configurations
Summary
Chapter 6: Pulling DSC Configurations
Creating DSC pull servers
Validating a DSC pull server install
Registering target nodes with a DSC pull server
Pulling DSC configurations with a DSC pull server
DSC pull server and target node status
Summary
Chapter 7: DSC Cross Platform Support
DSC cross-platform support
Summary
Chapter 8: Example Scenarios
Real-life DSC usage
Setting up a common installation base
Installing software
Configuration management refresher
Complicated deployments
Handling change
Summary

What You Will Learn

  • Explore PowerShell Desired State Configuration and activities around it, including the need for configuration management and abstraction.
  • Create reusable DSC configurations and debug/ troubleshoot configuration files.
  • Learn about the PowerShell DSC architecture with the help of push-and-pull management and workflows.
  • Define DSC configuration scripts and data files and push DSC configuration files remotely and locally.
  • Validate DSC Pull Server install and register target nodes with a DSC Pull Server.
  • Learn about DSC Cross Platform and install PowerShell on Linux and macOS along with real-life DSC uses and different types of deployment.

Authors

Table of Contents

Chapter 1: Introducing PowerShell DSC
What is PowerShell DSC?
Why do we need configuration management?
DSC quick wins
DSC high-level overview
Why all the abstraction?
How does DSC help?
DSC features
PowerShell V4 DSC
PowerShell V5 DSC
PowerShell V6 DSC
Summary
Chapter 2: DSC Architecture
Overview
Push and pull modes
The general workflow
The example workflow
Configuration data
Local Configuration Manager
The DSC pull server
Deployment considerations
Summary
Chapter 3: DSC Configuration Files
Defining a DSC configuration script file
Defining a DSC configuration data file
Creating reusable DSC configurations
Debugging and troubleshooting configuration script files
Summary
Chapter 4: DSC Resources
What are DSC resources?
Summary
Chapter 5: Pushing DSC Configurations
Tooling
Setting things up
Locally pushing DSC configurations
Remotely pushing DSC configurations
Things you must consider when pushing DSC configurations
Summary
Chapter 6: Pulling DSC Configurations
Creating DSC pull servers
Validating a DSC pull server install
Registering target nodes with a DSC pull server
Pulling DSC configurations with a DSC pull server
DSC pull server and target node status
Summary
Chapter 7: DSC Cross Platform Support
DSC cross-platform support
Summary
Chapter 8: Example Scenarios
Real-life DSC usage
Setting up a common installation base
Installing software
Configuration management refresher
Complicated deployments
Handling change
Summary

Book Details

ISBN 139781787287242
Paperback272 pages
Read More

Read More Reviews

Recommended for You

Mastering PowerShell - Second Edition Book Cover
Mastering PowerShell - Second Edition
$ 43.99
$ 30.80
Windows Server 2016 Automation with PowerShell Cookbook - Second Edition Book Cover
Windows Server 2016 Automation with PowerShell Cookbook - Second Edition
$ 47.99
$ 33.60
Windows PowerShell for .NET Developers - Second Edition Book Cover
Windows PowerShell for .NET Developers - Second Edition
$ 39.99
$ 28.00
Learning PowerShell DSC Book Cover
Learning PowerShell DSC
$ 39.99
$ 28.00
Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition Book Cover
Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition
$ 47.99
$ 33.60
Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition Book Cover
Microsoft Exchange Server 2013 PowerShell Cookbook: Second Edition
$ 35.99
$ 25.20