Enable-WindowsOptionalFeature is not recognized in Windows 10

Solution 1:

The command you are trying to run cannot be ran in Windows Command Prompt, you need to run it in Windows Powershell.