Search notes:

PowerShell cmdLet Enable-WindowsOptionalFeature

-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