check ubuntu version on wsl code example
Example 1: check ubuntu version on wsl
lsb_release -a
Example 2: how to check wsl version
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
lsb_release -a
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart