Obell Moreno
PreguntaPS C:\Users\omari\Source\Repos> wsl --set-default-version 2
wsl : The term ‘wsl’ 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
- wsl --set-default-version 2
-
+ CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
undefined

Héctor Eduardo López Carballo
Hola!
Este error frecuentemente sale cuando no está habilitada la virtualización de windows. Sí la activaste en la BIOS? Podrías intentar deshabilitarla, volverla a habilitar y probar de nuevo después de reiniciar tu ordenador. También puedes revisar si está habilitado Hyper-V en las características de Windows.