Update 'sysinfo.ps1'
Resolves issue#15
This commit is contained in:
parent
3f805bead7
commit
150687f2a1
@ -40,8 +40,7 @@ function Find-RAM { #This finds the systems total physical memory and then retur
|
||||
|
||||
$system_memory = $cs.totalphysicalmemory
|
||||
|
||||
$system_memory = $system_memory * 0.000000001 #Multiplies by 0.000000001 as the number give by CIM is in bytes.
|
||||
$system_memory = [math]::floor($system_memory)
|
||||
$system_memory = [math]::Round($system_memory / 1GB, 2)
|
||||
$system_memory = [String]$system_memory + " GB"
|
||||
|
||||
return $system_memory
|
||||
|
Loading…
x
Reference in New Issue
Block a user