I am attempting to install the Windows Subsystem for Linux on my Windows 7 machine, following the instructions shown in this documentation.
The first step there says to run the command
> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
However, my machine does not recognize the
PS C:\> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Enable-WindowsOptionalFeature : The term 'Enable-WindowsOptionalFeature' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows- ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Enable-WindowsOptionalFeature:String) , CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
- Why does my machine not recognize the
- How can I proceed to install the Windows Subsystem for Linux?