Book Image

Windows PowerShell for .NET Developers - Second Edition - Second Edition

Book Image

Windows PowerShell for .NET Developers - Second Edition - Second Edition

Overview of this book

Windows PowerShell 5.0 for .NET Developers is your self-start guide to performing automation using Windows PowerShell. This book will help you to understand the PowerShell syntax and grammar and will also teach you techniques to remove the rough edges of manual deployments. Packed with PowerShell scripts and sample C# codes to automate tasks, it also includes real-world scenarios such as administrating office servers to help you save time and perform deployments swiftly and efficiently. The book begins with the Windows PowerShell basics, explores the significant features of Windows Management Framework 5.0, covers the basic concepts of Desired State Configuration and the importance of idempotent deployments. By the end of the book, you will have a good understanding of Windows PowerShell’s features and will be able to automate your tasks and manage configuration effectively.
Table of Contents (13 chapters)

Chapter 3. Exploring Desired State Configuration

In the previous chapter, we covered the basics of Desired State Configuration; this chapter is a continuation of the same.

To learn DSC, you would need to watch the video in Microsoft Virtual Academy.

Note

Here are some useful links:

To get started with Windows PowerShell Desired State Configuration (DSC)— http://www.microsoftvirtualacademy.com/training-courses/getting-started-with-powershell-desired-state-configuration-dsc-

For advanced PowerShell Desired State Configuration (DSC) and custom resources—http://www.microsoftvirtualacademy.com/training-courses/advanced-powershell-desired-state-configuration-dsc-and-custom-resources

DSC—Desired State Configuration—is a Windows PowerShell extension released with Windows Management Framework 4.0. DSC is a fast-growing technology. Any IT professional or developer responsible for configuration management automation needs DSC. In this chapter, we will cover the following topics:

  • The prerequisites for DSC...