mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-03 05:31:03 +02:00
Update check-os.ps1
This commit is contained in:
parent
ff9531bdfe
commit
96b934e417
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user