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)

Summary


In this chapter, we explored the basic concepts of Desired State Configuration, such as installing WMF 5.0 April 2015 Preview and imperative versus declarative programming and their significant features. If you think that built-in resources are limited, start building your own DSC resources and sharing them with the community. Using DSC, we can manage on-premises, and we can also manage the cloud environment using a declarative syntax. If you wish to learn about building Azure VM using DSC, refer to the following link:

http://blogs.msdn.com/b/powershell/archive/2014/08/07/introducing-the-azure-powershell-dsc-desired-state-configuration-extension.aspx

In the next chapter, we will cover PowerShell and web technologies, in which we will have exercises based on JSON, REST API, PowerShell Web Access, Web services, OData extensions, and PowerShell Web Access. The examples in the next chapter will cover managing Office 365 environments using PowerShell and C#.