Get-WindowsFeature

Gets a list of available Windows features, or details on a specific windows feature.

Syntax

Get-WindowsFeature [[-Name] <String>] [<CommonParameters>]

Description

Different versions of Windows use different names for installing Windows features. Use this function to get the list of functions for your operating system.

With no arguments, will return a list of all Windows features. You can use the Name parameter to return a specific feature or a list of features that match a wildcard.

This function is not available on Windows 8/2012.

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String

The feature name to return. Can be a wildcard.

false false

Return Values

PsObject. A generic PsObject with properties DisplayName, Name, and Installed.

EXAMPLE 1

Get-WindowsFeature

Returns a list of all available Windows features.

EXAMPLE 2

Get-WindowsFeature -Name MSMQ

Returns the MSMQ feature.

EXAMPLE 3

Get-WindowsFeature -Name *msmq*

Returns any Windows feature whose name matches the wildcard *msmq*.