Hello @10fused,
This will give you the Total Slots
, Capacity [Maximum Potential]
, Used Slots
, Capacity [Installed]
, and Capacity [Usable]
.
Copy & Paste
the following into a CMD Prompt and press Enter
. . .
Code:
echo. & PowerShell "$AAA=((Get-wmiObject -Class Win32_PhysicalMemoryArray -NameSpace Root\CIMV2 -ComputerName LocalHost).MemoryDevices | Measure-Object -Sum).Sum; Write-Host ' Total Slots :' $AAA" & PowerShell Get-wmiObject -Class Win32_PhysicalMemoryArray -NameSpace Root\CIMV2 -ComputerName LocalHost ^| Format-List @{L="' Capacity [Maximum Potential] '";E={[Math]::Round($_.MaxCapacity / 1024, 0).ToString('#,##0 MB')}} ^| Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0} & PowerShell "$AAA=((Get-wmiObject -Class Win32_PhysicalMemoryArray -NameSpace Root\CIMV2 -ComputerName LocalHost).MemoryDevices | Measure-Object -Sum).Count; Write-Host ' Used Slots :' $AAA" & PowerShell Get-wmiObject -Class Win32_PhysicalMemory -ComputerName LocalHost ^| Format-List @{L="' Capacity [Installed] '";E={[Math]::Round($_.Capacity / 1MB, 0).ToString('#,##0 MB')}} ^| Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0} & PowerShell Get-wmiObject -Class Win32_ComputerSystem -ComputerName LocalHost ^| Format-List @{L="' Capacity [Usable] '";E={[Math]::Round($_.TotalPhysicalMemory / 1MB, 0).ToString('#,##0 MB')}} ^| Out-String -Width 1000 -Stream ^| Where {$_.Trim().Length -gt 0} & echo.
This is my output off an old Laptop . . .
Code:
Total Slots : 2
Capacity [Maximum Potential] : 8,192 MB
Used Slots : 1
Capacity [Installed] : 4,096 MB
Capacity [Usable] : 3,893 MB