check linux kernel version code example
Example 1: check powershell version
PS C:\> $PSVersionTable.PSVersion
Example 2: how to check kernel version in linux
cat /proc/version
Example 3: bash get kernel version
$ cat /proc/version
PS C:\> $PSVersionTable.PSVersion
cat /proc/version
$ cat /proc/version