Update check-os.ps1

This commit is contained in:
Markus Fleschutz 2022-12-04 18:09:17 +01:00
parent ff9531bdfe
commit 96b934e417

View File

@ -16,7 +16,7 @@ try {
"$(uname -sr)"
} else {
$OS = Get-WmiObject -class Win32_OperatingSystem
$Name = $OS.Caption
$Name = $OS.Caption -Replace "Microsoft Windows","Windows"
$Arch = $OS.OSArchitecture
$Version = $OS.Version