< Back
Get-CWindowsFeature
Post
NAME Get-CWindowsFeature
SYNOPSIS
Gets a list of available Windows features, or details on a specific windows feature.
SYNTAX
Get-CWindowsFeature [[-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.**
PARAMETERS
-Name <String>
The feature name to return. Can be a wildcard.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PsObject. A generic PsObject with properties DisplayName, Name, and Installed.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-CWindowsFeature
Returns a list of all available Windows features.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-CWindowsFeature -Name MSMQ
Returns the MSMQ feature.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-CWindowsFeature -Name *msmq*
Returns any Windows feature whose name matches the wildcard `*msmq*`.
RELATED LINKS
Install-CWindowsFeature
Test-CWindowsFeature
Uninstall-CWindowsFeature
SYNOPSIS
Gets a list of available Windows features, or details on a specific windows feature.
SYNTAX
Get-CWindowsFeature [[-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.**
PARAMETERS
-Name <String>
The feature name to return. Can be a wildcard.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
PsObject. A generic PsObject with properties DisplayName, Name, and Installed.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-CWindowsFeature
Returns a list of all available Windows features.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-CWindowsFeature -Name MSMQ
Returns the MSMQ feature.
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-CWindowsFeature -Name *msmq*
Returns any Windows feature whose name matches the wildcard `*msmq*`.
RELATED LINKS
Install-CWindowsFeature
Test-CWindowsFeature
Uninstall-CWindowsFeature