Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learning Powershell DSC
  • Table Of Contents Toc
  • Feedback & Rating feedback
Learning Powershell DSC

Learning Powershell DSC

By : James Pogran
4.9 (8)
close
close
Learning Powershell DSC

Learning Powershell DSC

4.9 (8)
By: James Pogran

Overview of this book

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 (9 chapters)
close
close
8
Index

Creating reusable DSC configurations

So far, we have been working with singular DSC configuration script files and DSC configuration blocks. We have taken an approach of one DSC configuration block per script file and one script file per environment. We covered why this was a best practice in the earlier sections, and at this point, you've probably tried out a couple on your own using what we have done so far. You are likely realizing that these script files can grow very large, containing hundreds of lines of code with large sections of just DSC resource declaration statements.

This is a common problem with CM. The world is complex and messy, and declaring it in text files sounds easy at first, but it becomes difficult to maintain if all you have is one big ball of lines without any organization. If you have developed scripts or code in any language, you are familiar with...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learning Powershell DSC
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon