Fix RAM output

This commit is contained in:
efrick 2021-04-27 15:30:58 -04:00
parent fe0b84a898
commit 604a290a7f

View File

@ -120,6 +120,7 @@ function Find-Computer-Info_7 {
function Find-RAM_7 {
[wmi]$cs = Get-WmiObject -Class win32_computersystem
$system_memory_7 = $cs.totalphysicalmemory / 1GB -as [int]
$system_memory_7 = $system_memory_7.ToString() + "GB"
return $system_memory_7
}