Book Image

Windows PowerShell 4.0 for .NET Developers

By : Sherif Talaat
Book Image

Windows PowerShell 4.0 for .NET Developers

By: Sherif Talaat

Overview of this book

<p>The world of technology is growing faster than ever, and the business needs are getting more complex every day. With PowerShell in your toolbox, you have an object-based scripting language, task-based shell, along with a powerful automation engine. PowerShell is built on top of .NET framework which gives an edge over the other tools when it comes to integration and automation of Microsoft product and technologies.</p> <p>Packed with a set of real world scenarios and detailed scripts that will help you get started with PowerShell, this practical guide will help you to understand the syntax and grammar, build your scripts and modules, and integrate them with different technologies and tools. PowerShell is built on top of .NET framework, which gives an edge over other tools when it comes to integration and automation of Microsoft products and technologies.</p> <p>Starting with the essentials of PowerShell along with the new features in PowerShell 4.0, this guide explores building scripts and modules, and takes an in-depth look at integration topics.</p> <p>This book covers the use of PowerShell with .NET, WMI, and COM. It also covers the use of PowerShell to manage Windows Server, Internet Information Services, SQL Server, and Team Foundation Server. You will also learn to work with XML and RESTful web services.</p> <p>This practical guide provides an easy and fast way to become a PowerShell expert via a collection of selected real world scenarios, detailed solutions, and screenshots.</p>
Table of Contents (13 chapters)

Summary


In this chapter, we learned how to use Windows PowerShell to work closely with WMI, COM, and XML. We also learned what CIM is and how to use it via PowerShell. In addition, we shined a light on working with .NET objects and how to use .NET to extend Windows PowerShell capabilities.

Also, we learned what modules are, the different types of modules, and how to create a module that can be used to automate our own custom-developed applications. Finally, we jumped into script-debugging and error-handling techniques in PowerShell.

In the next chapter, we will learn how to use PowerShell to perform different administration tasks that we might face on a daily basis, such as preparing application requirements, handling user and group permissions, managing and configuring IIS, and maintaining SQL Server databases.