mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-16 17:51:28 +01:00
Update check-ram.ps1
This commit is contained in:
parent
e29b6db89a
commit
4e93ed99bd
@ -50,13 +50,13 @@ try {
|
||||
$Type = GetRAMType $Bank.SMBIOSMemoryType
|
||||
$Speed = $Bank.Speed
|
||||
[float]$Voltage = $Bank.ConfiguredVoltage / 1000.0
|
||||
$Vendor = $Bank.Manufacturer
|
||||
$Manufacturer = $Bank.Manufacturer
|
||||
if ("$($Bank.BankLabel)" -ne "") {
|
||||
$Location = $Bank.BankLabel
|
||||
} else {
|
||||
$Location = $Bank.DeviceLocator
|
||||
}
|
||||
"✅ $($Capacity)GB $Type ($($Speed)MHz, $($Voltage)V) by $Vendor at $Location."
|
||||
"✅ $($Capacity)GB $Type ($($Speed)MHz, $($Voltage)V) at $Location by $Manufacturer."
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
|
Loading…
Reference in New Issue
Block a user