To enable Windows Subsystem for Linux (WSL), the correct command would be:
.\Dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-LinuxFor Virtual Machine Platform, use:
.\Dism.exe /online /enable-feature /featurename:VirtualMachinePlatformAnd for Hyper-V, the command is:
.\Dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V -AllRemember to run PowerShell as an administrator to perform these operations.