Pro PowerShell desired state configuration : an in-depth guide to Windows PowerShell DSC / Ravikanth Chaganti
- Chaganti, Ravikanth
- [New York, N.Y.] : Apress, 2018.
- Second edition.
- Physical Description:
- 1 online resource
- Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Part I: Getting Started with Windows PowerShell DSC; Chapter 1: Introduction to Infrastructure as Code and PowerShell DSC; Lab Requirements; The Operations Challenge; The DevOps Challenge; Infrastructure as Code; Understanding Desired State Configuration; Imperative vs. Declarative Syntax; Enabling Desired State Configuration; Configuring a WinRM HTTPS Listener; Tools for the Job; Summary; Chapter 2: Getting Started with DSC; Lab Requirements; PowerShell DSC: A 10,000-Foot View., Configuration Authoring and StagingPowerShell DSC Language Extensions; PowerShell DSC Resource Modules; Configuration Enacting and Reporting; Local Configuration Manager; PowerShell DSC Features; DSC Pull Server; Pull Mode Over SMB; Pull Mode Over OData or HTTP; Partial Configurations; Cross-Machine Synchronization; Configuration Encryption at Rest; Configuration and Module Signature Validation; The PowerShell DSC Platform; Summary; Chapter 3: The Local Configuration Manager; Lab Requirements; LCM CIM Classes; LCM Properties; Configuration Store; Meta Configurations; Node Configuration., Monitoring Configuration DriftSummary; Chapter 4: Writing Configurations; Lab Requirements; What's Not Covered in This Chapter; Back to Basics; Anatomy of a Configuration Document; Finding and Installing DSC Resource Modules; Finding DSC Resources; Installing DSC Resource Modules; Updating In-Box DSC Resource Modules; Your First Configuration; Using the Import-DscResource Keyword; Exploring DSC Resources; Multi-Node Configurations; Parameterized Configurations; Dependent Resource Configurations; Summary; Chapter 5: Writing Advanced DSC Configurations; Lab Requirements., Using Credentials in a ConfigurationConfiguration Data; Using PSDscRunAsCredential; Using Certificates to Encrypt Credentials; Generating Encryption Certificates; Configuring the Target Node LCM to Use Certificates for Decryption; Authoring a Configuration Document to Use Certificates; Separating Configuration Data from Environment Data; Creating Reusable Configurations; Nested Configurations; Summary; Chapter 6: Writing Composite and Custom DSC Resource Modules; Lab Requirements; Composite Resource Modules; Packaging a Composite Resource Module; Using a Composite Resource in a Configuration., and Custom DSC Resource ModulesFunctions in a DSC Resource Script; DSC Resource Execution Flow; MOF-Based DSC Resources; The Resource Schema File; The Resource Script File; Test-TargetResource; Set-TargetResource; Get-TargetResource; Class-Based DSC Resources; DSC Resource Design Patterns; Inducing a Reboot After a Configuration Change; Localizing Verbose and Debug Messages; Adding Help Content; Granularity in DSC Resources; Choosing the Right Key Property; Single Instance Resources; Developing HQRM Modules; Adding Examples; Adding Tests; Adding Inline Help for Resource Functions.
- Use Windows PowerShell Desired State Configuration (DSC) to configure your infrastructure on-premises and in the cloud. In an environment where changes and deployments are happening all the time, DSC makes the necessary adjustments to the system so you don't have to. Pro Desired State Configuration shows you how. PowerShell Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform configuration management of your infrastructure, whether on-premises or in the cloud. With Pro PowerShell Desired State Configuration, Ravikanth Chaganti revises and significantly expands his previous edition, bringing you a complete in-depth reference for applying this evolving technology in your day-to-day work. What's new in this edition?Get up-to-date, in-depth guidance on DSC in the data centerUnderstand the central role that DSC plays in DevOps todayUnderstand how DSC can be integrated into build and release management toolsLearn to think and act like a developer when automating your configuration management, creating a testable, robust process that you can use again and againFind out why and how DSC has an important role to play in public and private cloud deploymentsApply DSC in the cloud with Microsoft Azure or Amazon Web Services or Google Cloud PlatformWho This Book Is ForIT administrators, developers and DevOps engineers working in Windows-based data center environments. With a little prior PowerShell scripting experience, this book can be used as an in-depth reference to creating, customizing, and extending DSC in Windows. IT administrators with limited scripting experience will also find this book a useful overview of what DSC offers and how to use DSC resources to automate configuration management and deployment.
- 9781484234839 (electronic bk.)
1484234839 (electronic bk.)
- Digital File Characteristics:
- text file
- Bibliography Note:
- Includes bibliographical references and index.
View MARC record | catkey: 37446510