Executing command without options will print out the all system information. add -s flag to print only
value:
-h,--help
Print a simple help.
-v,--version
Print current version.
-V,--wsl-version
Print the the WSL version your current distribution is using. For example, "1" for using WSL 1st
generation.
-I,--sys-installdate
Print the time when the current release is installed. The format is in Hex Unix Timestamp. For
example, "0x5df84068".
-b,--branch
Print current release branch of your Windows 10. For example, "rs_prerelease" means you are on
rs_prerelease realease branch.
-B,--build
Print current build version of your Windows 10. For example, "19536" means you are using Winows
10 build 19536.
-F,--full-build
Print current build version of your Windows 10 in long form. For example,
"19536.1000.amd64fre.rs_prerelease.191211-1446".
-U,--uptime
Print current uptime inside WSL. For example, "0d0h2m".
-W,--win-uptime
Print current uptime in Windows 10. For example, "0d12h8m".
-R,--release
Print the current release for your WSL distro. For example, "Ubuntu18.04.3LTS".
-K,--kernel
Print the current version of the WSL kernel. For example, "Linux4.19.81-microsoft-standard".
-P,--package
Print total number of installed packages. For example, "1047" for 1047 packages installed.
-S,--display-scaling
Print the current disply scaling from your display setting. For example, "2" for 200% scaling.
-l,--locale
Print the Windows locale information. For example, "en-US" for English (United States).
-t,--win-theme
Print the Windows 10 Theme. For example, "light".