Enable-WindowsOptionalFeature - Powershell 4.0 CmdLet
ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »
Enable-WindowsOptionalFeature
Short description Enables a feature in a Windows image. Syntax Description The Enable-WindowsOptionalFeature cmdlet enables or restores an optional feature in a Windows image. Use the Online parameter to specify the running operating system on your local computer, or use the Path parameter to specify the location of a mounted Windows image. The PackageName parameter specifies the package that the feature is a component of. This parameter is optional when the package is the Windows Foundation package. The FeatureName parameter specifies the feature to add. You can specify more than one feature in the same package. Separate feature names with a comma. The Source parameter specifies the location of files that are needed to restore a removed feature. The LimitAccess parameter prevents access to WindowsUpdate (WU) as a Source for restoring features to online images. The All parameter enables all parent features of the specified feature before enabling the specified feature. The parent feature will be enabled with default values.