Learning PowerShell DSC

Get started with the fundamentals of PowerShell DSC and utilize its power to automate deployment and configuration of your servers
Preview in Mapt

Learning PowerShell DSC

James Pogran

1 customer reviews
Get started with the fundamentals of PowerShell DSC and utilize its power to automate deployment and configuration of your servers
Mapt Subscription
FREE
$29.99/m after trial
eBook
$10.00
RRP $39.99
Save 74%
Print + eBook
$49.99
RRP $49.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
$10.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial

Frequently bought together


Learning PowerShell DSC Book Cover
Learning PowerShell DSC
$ 39.99
$ 10.00
Learning PowerShell DSC - Second Edition Book Cover
Learning PowerShell DSC - Second Edition
$ 35.99
$ 10.00
Buy 2 for $20.00
Save $55.98
Add to Cart

Book Details

ISBN 139781783980703
Paperback268 pages

Book Description

Windows PowerShell is a task-based command-line shell and scripting language designed especially for system administration. PowerShell DSC is a new management platform that enables you to deploy and manage configuration data for software services and manage the environment in which these services run.

This book begins with an overview of the basics of PowerShell DSC by covering the architecture and components of the Desired Sate Configuration. It will then familiarize you with the set of PowerShell language extensions and new PowerShell commands. It will help you understand and create DSC configurations with the help of practical examples, and to create DSC custom resources for your custom applications. Finally, you will learn to deploy a real world application using PowerShell DSC. By the end of the book, you will have better knowledge about the powerful Desired State Configuration platform, which helps you to achieve continuous delivery, and efficient management and easy deployment of data for systems.

Table of Contents

Chapter 1: Introduction to PowerShell DSC
What is PowerShell DSC?
Why do we need Configuration Management?
DSC quick wins
A high level overview of DSC
Why all the abstraction?
How does DSC help me?
DSC features
PowerShell v4 DSC
PowerShell v5 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?
Creating a custom PowerShell v4 DSC Resource
Creating a custom PowerShell v5 DSC Resource
What makes a good DSC Resource
Testing custom DSC Resources
How do you find 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: Example Scenarios
Real life DSC usage
Setting up a common installation base
Installing software
A configuration management refresher
Complicated deployments
Handling change
Summary

What You Will Learn

  • Understand configuration management and why you need it
  • Craft flexible, reusable, and maintainable configuration scripts for thousands of servers
  • Create custom DSC resources to manage any application or server setting
  • Apply configuration data to deploy applications to different environments
  • Utilize DSC push deployments to test your configuration scripts and custom DSC resources
  • Install, configure and use DSC pull servers
  • Run a Windows MSI package
  • Deploy a website

Authors

Table of Contents

Chapter 1: Introduction to PowerShell DSC
What is PowerShell DSC?
Why do we need Configuration Management?
DSC quick wins
A high level overview of DSC
Why all the abstraction?
How does DSC help me?
DSC features
PowerShell v4 DSC
PowerShell v5 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?
Creating a custom PowerShell v4 DSC Resource
Creating a custom PowerShell v5 DSC Resource
What makes a good DSC Resource
Testing custom DSC Resources
How do you find 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: Example Scenarios
Real life DSC usage
Setting up a common installation base
Installing software
A configuration management refresher
Complicated deployments
Handling change
Summary

Book Details

ISBN 139781783980703
Paperback268 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Mastering Windows Server 2016 Book Cover
Mastering Windows Server 2016
$ 47.99
$ 10.00
Windows PowerShell for .NET Developers - Second Edition Book Cover
Windows PowerShell for .NET Developers - Second Edition
$ 39.99
$ 10.00
Learning PowerShell DSC - Second Edition Book Cover
Learning PowerShell DSC - Second Edition
$ 35.99
$ 10.00
Microsoft Hyper-V PowerShell Automation Book Cover
Microsoft Hyper-V PowerShell Automation
$ 17.99
$ 10.00
Windows Server 2012 Automation with PowerShell Cookbook Book Cover
Windows Server 2012 Automation with PowerShell Cookbook
$ 32.99
$ 10.00
SQL Server 2014 with PowerShell v5 Cookbook Book Cover
SQL Server 2014 with PowerShell v5 Cookbook
$ 47.99
$ 10.00