mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-08 09:20:19 +02:00
Update check-cpu.ps1
This commit is contained in:
parent
78d9fb668b
commit
f00cffe46d
@ -49,9 +49,9 @@ try {
|
|||||||
$Name = $PSVersionTable.OS
|
$Name = $PSVersionTable.OS
|
||||||
if ($Name -like "*-generic *") {
|
if ($Name -like "*-generic *") {
|
||||||
if ([System.Environment]::Is64BitOperatingSystem) {
|
if ([System.Environment]::Is64BitOperatingSystem) {
|
||||||
$Arch = "x86-64"
|
$Arch = "x64"
|
||||||
} else {
|
} else {
|
||||||
$Arch = "x86-32"
|
$Arch = "x86"
|
||||||
}
|
}
|
||||||
} elseif ($Name -like "*-raspi *") {
|
} elseif ($Name -like "*-raspi *") {
|
||||||
if ([System.Environment]::Is64BitOperatingSystem) {
|
if ([System.Environment]::Is64BitOperatingSystem) {
|
||||||
|
Loading…
Reference in New Issue
Block a user