O'Reilly logo

Windows PowerShell 4.0 for .NET Developers by Sherif Talaat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Windows PowerShell in action

In this section, we will go on a tour to discover how PowerShell is being used in many different products and technologies, such as Windows Server, SQL Server, and IIS.

Working with Windows roles and features

Managing Windows roles and features is one of the most important basic and repetitive tasks while dealing with a server operating system, such as Windows Server.

In Windows Server, you can manage roles and features using the PowerShell Server Manager module. This module allows listing, adding, and removing roles or features via three cmdlets: Get-WindowsFeature, Install-WindowsFeature, and Uninstall-WindowsFeature.

The following example shows how to use the Get‑WindowsFeature cmdlet to list all the installed roles ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required