API Reference
Command
Get-CxWindowsOptionalFeature
Gets Windows optional features (Win32_OptionalFeature) from local or remote computers.
Examples
Example 1
Get-CxWindowsOptionalFeature
Example 2
Get-CxWindowsOptionalFeature -ComputerName SRV1,SRV2 | Where-Object State -eq 'Enabled'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Get-CxWindowsOptionalFeature [-ComputerName <string[]>] [<CommonParameters>]#Parameters
- ComputerName string[]
- Target computer(s). Use '.' for local computer or provide DNS names.
Outputs
ComputerX.Features.WindowsOptionalFeatureInfo