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


So far, we covered the very basics of Windows PowerShell. We now know the importance of an object-based shell and how an ISE helps us in building scripts. We explored the Windows PowerShell consoles and ISE snippets. After completing this chapter, you know the power of an interactive shell, how to use cmdlets effectively, how to use help, and the fundamentals of PowerShell along with building standard functions and creating cmdlets using the Visual Studio class library.

In the next chapter, we will cover Common Information Model (CIM), Windows Management Instrumentation (WMI), Extensible Markup Language, COM, .NET objects, modules, and a more exciting section, Exploring Windows PowerShell 5.0.