Windows PowerShell Desired State Configuration Revealed [electronic resource] /
Chaganti, Ravikanth.author.
Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform cross-platform configuration management of your infrastructure, whether on-premise or in the cloud. DSC provides the management platform and Application Programming Interface (API) that can be used with any programming language. Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish and demonstrates the DSC interfaces through Windows PowerShell. DSC allows you to manage target devices by simply declaring what state you want them to be in, using new declarative language extensions, rather than writing detailed instructions to get them into that state. This makes continuous delivery in Windows easier than ever before. 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. Windows PowerShell Desired State Configuration Revealed starts with an overview of the configuration management features in Windows, followed by a discussion of the architecture of DSC and its components. You'll then explore DSC's built-in features and resources, followed by some of the different methods provided for delivering configuration information within your ecosystem, and learn about configuration monitoring and reporting. In the latter part of the book, you'll find out how to get more power out of DSC by writing your own custom DSC resources, including a range of useful examples, and the book concludes with vital information on deploying and troubleshooting DSC in a production environment, along with some expert tips and tricks you might find useful along the way. Windows PowerShell Desired State Configuration Revealed is your one-stop guide to this new technology and how it can change your working life for the better.
""Contents at a Glance""; ""Contents""; ""About the Author""; ""About the Technical Reviewer""; ""Acknowledgments""; ""Introduction""; ""Part I: Introduction to Windows PowerShell""; ""Chapter 1: Beginning Windows PowerShell""; ""What Is Windows PowerShell?""; ""Object-Based Shell""; ""Distributed Automation Engine""; ""Scripting Language""; ""Installing Windows PowerShell""; ""Downloading and Installing WMF 4.0""; ""Verifying PowerShell 4.0 Install""; ""Exploring PowerShell Console and PowerShell ISE""; ""PowerShell Console""; ""PowerShell Integrated Scripting Environment (ISE)""
""Exploring PowerShell""""Exploring PowerShell Commands""; ""Getting Help""; ""Exploring Objects""; ""Cmdlet Parameters""; ""Named Parameters""; ""Positional Parameters""; ""Switch Parameters""; ""Language Semantics""; ""Variables""; ""Types of Variables""; ""Automatic Variables""; ""Preference Variables""; ""Environment Variables""; ""Operators""; ""Arithmetic Operators""; ""Assignment Operators""; ""Comparison Operators""; ""Logical Operators""; ""Arrays and Hash Tables""; ""Arrays""; ""Hash Tables""; ""Custom Objects in PowerShell""; ""Using New- Object""
""Using the [PSCustomObject] type""""Flow Control in PowerShell""; ""Branching in PowerShell""; ""Looping in PowerShell""; ""For Statement""; ""ForEach Statement""; ""While Statement""; ""Do Statement""; ""Break Statement""; ""Continue Statement""; ""Aliases""; ""Understanding the PowerShell Pipeline""; ""PowerShell Scripts""; ""Execution Policies""; ""Writing and Executing Scripts""; ""PowerShell Functions""; ""PowerShell Modules""; ""Discovering Modules""; ""Importing Modules""; ""Writing Modules""; ""Customizing the PowerShell Environment""; ""Summary""
""Chapter 2: Introducing Windows Remote Management and CIM""""Windows Remote Management (WinRM)""; ""WS-Management Cmdlets""; ""Creating a WinRM HTTP Listener""; ""Creating a WinRM HTTPS Listener""; ""Accessing Management Information""; ""Common Information Model (CIM)""; ""Introduction to CIM Cmdlets""; ""Exploring CIM Classes and Instances""; ""WMI Query Language""; ""WQL Keywords""; ""WQL Operators""; ""Writing WQL Queries""; ""Working with CIM Methods""; ""Working with Remote Systems""; ""Understanding MOF""; ""MOF Language Elements""; ""Compiler Directives""; ""Qualifiers""
""Type Declarations""""Instances""; ""Comments""; ""Compiling MOF""; ""Summary""; ""Part II: Desired State Configuration Essentials""; ""Chapter 3: Introducing Desired State Configuration""; ""The Configuration Management Challenge""; ""The Continuous Delivery Challenge""; ""Understanding Desired State Configuration""; ""Imperative vs. Declarative Syntax""; ""Enabling Desired State Configuration""; ""Configuring Your Environment for Desired State Configuration""; ""Create WinRM Listeners Using Group Policy""; ""Configure Execution Policy Using Group Policy""; ""Summary""
""Chapter 4: Getting Started with DSC""
"The Expert's Voice in Powershell"--Cover.
Includes index.
Desired State Configuration (DSC) is a powerful configuration management platform that makes it easier than ever to perform cross-platform configuration management of your infrastructure, whether on-premise or in the cloud. DSC provides the management platform and Application Programming Interface (API) that can be used with any programming language. Windows PowerShell Desired State Configuration Revealed will take you through this new technology from start to finish and demonstrates the DSC interfaces through Windows PowerShell. DSC allows you to manage target devices by simply declaring what state you want them to be in, using new declarative language extensions, rather than writing detailed instructions to get them into that state. This makes continuous delivery in Windows easier than ever before. 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. Windows PowerShell Desired State Configuration Revealed starts with an overview of the configuration management features in Windows, followed by a discussion of the architecture of DSC and its components. You'll then explore DSC's built-in features and resources, followed by some of the different methods provided for delivering configuration information within your ecosystem, and learn about configuration monitoring and reporting. In the latter part of the book, you'll find out how to get more power out of DSC by writing your own custom DSC resources, including a range of useful examples, and the book concludes with vital information on deploying and troubleshooting DSC in a production environment, along with some expert tips and tricks you might find useful along the way. Windows PowerShell Desired State Configuration Revealed is your one-stop guide to this new technology and how it can change your working life for the better.
Microsoft software.
Microsoft Network (Online service)
Software engineering.
Microsoft and .NET.
Software Engineering/Programming and Operating Systems.