Search notes:

PowerShell cmdLet Enable-WindowsOptionalFeature

-All

With -all, the feature's parent features and their required dependencies.

-Online

As per documentation, -online specifies the action to be taken on the local computer. Why this is not the default is only my guess.

See also

Powershell command noun: windowsOptionalFeature

Index