Book Image

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

By : Chendrayan Venkatesan, Talaat
Book Image

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

By: Chendrayan Venkatesan, Talaat

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 (7 chapters)

Conventions

In this book, you will find a number of text styles that distinguishe between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "$MaximumHistoryCount is a built-in variable that returns the actual value of the command's history."

Any command-line input or output is written as follows:

(Get-Host).UI.RawUI
(Get-Host).UI.RawUI | GM

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " Using the Options tab, we can see Cursor Size, Command History, and Edit Options, and adjust them as we require."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.