Add Linux kernel version to software report (#2959)

This commit is contained in:
Mikhail Timofeev
2021-03-18 09:41:01 +03:00
committed by GitHub
parent 1dc087be2e
commit 4847468235
2 changed files with 7 additions and 0 deletions

View File

@@ -17,6 +17,11 @@ function Get-OSName {
lsb_release -ds
}
function Get-KernelVersion {
$kernelVersion = uname -r
return "Linux kernel version: $kernelVersion"
}
function Test-IsUbuntu16 {
return (lsb_release -rs) -eq "16.04"
}