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)

What this book covers

Chapter 1, Getting Started with Windows PowerShell, covers the basics of Windows PowerShell, the importance of object-based shells, and how ISE helps us in building scripts.

Chapter 2, Unleashing Development Skills Using Windows PowerShell 5.0, explores XML and COM automation and NET objects for Admin and Development tasks. You will also get acquainted with the PowerShell modules and how script debugging works.

Chapter 3, Exploring Desired State Configuration, gets you started with Desired State Configuration (DSC) concepts such as installing WMF 5.0 April 2015 Preview, Imperative versus declarative programming and their significant features. It also explores Windows Remote Management and CIM, and teaches you to create configurations scripts.

Chapter 4, PowerShell and Web Technologies, starts with the installation and configuration of Web Access, and explores Web requests, services, and REST API.

Chapter 5, Exploring Application Programming Interface, covers the key benefits of the API and using it in Windows PowerShell, Exchange Web Services, LYNC Client-side API, and SharePoint Client Side Object Model; you'll walk through a demo to create a PowerShell module in C# for office servers.