Update check-ram.ps1

This commit is contained in:
Markus Fleschutz 2024-07-22 19:27:19 +02:00
parent eb0112d799
commit 72b1203b26

View File

@ -5,7 +5,7 @@
This PowerShell script queries the status of the installed RAM memory modules and prints it.
.EXAMPLE
PS> ./check-ram.ps1
16GB DDR4 RAM @ 3200MHz by Micron (in CPU0/CPU0-DIMM3 @ 1.2V)
16GB DDR4 RAM at 3200MHz/1.2V in CPU0/CPU0-DIMM3 by Micron
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -69,7 +69,7 @@ try {
[float]$Voltage = $Bank.ConfiguredVoltage / 1000.0
$Manufacturer = $Bank.Manufacturer
$Location = "$($Bank.BankLabel)/$($Bank.DeviceLocator)"
Write-Host "$Capacity $Type @ $($Speed)MHz by $Manufacturer (in $Location @ $($Voltage)V)"
Write-Host "$Capacity $Type at $($Speed)MHz,$($Voltage)V in $Location by $Manufacturer"
}
}
exit 0 # success