ubunto wsl check version code example
Example 1: ubuntu cat release
cat /etc/os-release
Example 2: how to check wsl version
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
cat /etc/os-release
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart