If the memory is to be upgraded, then you have to find out whether the new memory is compatible. Therefore you have to find out the type of your currently installed memory. The device manager does not provide any information about this.
Basics
The current RAM configuration can be accessed via the Windows key + Pause.
But there is no information about the manufacturer, the speed and the serial number.
Get-WmiObject
To get this information run Get-WmiObject.
Get-WmiObject win32_physicalmemory | Format-Table Manufacturer,Banklabel,Configuredclockspeed,Devicelocator,Capacity,Serialnumber -autosize
Get-CimInstance
You can also run Get-CimInstance.
Get-CimInstance win32_physicalmemory | Format-Table Manufacturer,Banklabel,Configuredclockspeed,Devicelocator,Capacity,Serialnumber -autosize
The Motherboard
To find out whether your motherboard is compatible with the new memory run
Get-WmiObject Win32_BaseBoard
Categories: PowerShell, Windows 10, Windows Server
Get-CimInstance win32_physicalmemory | Select-Object Manufacturer,Banklabel,Configuredclockspeed,Devicelocator,@{Name = ‘Capacity’;Expression = {“$($_.Capacity / 1gb)” + ‘GB’}},Serialnumber |Format-Table -AutoSize
just a litle tweak from me 😉
Have fun guys!
Patrik, great article, thank you!
LikeLiked by 1 person
Good readding this post
LikeLiked by 1 person
Thanks Patrick, if you want to only see the memory in GB:
$mem=Get-CimInstance win32_physicalmemory |Select-Object -ExpandProperty Capacity
$mem/1gb
LikeLike
Thank you!
LikeLike
how would u put that in?
Get-CimInstance win32_physicalmemory | Format-Table Manufacturer,Banklabel,Configuredclockspeed,Devicelocator,Capacity,Serialnumber -autosize
$mem=Get-CimInstance win32_physicalmemory |Select-Object -ExpandProperty Capacity
$mem/1gb
i get a select-object error cannot convert ‘system.object[]’ to the type ‘system.string’ required by the parameter ‘expandedproperty’
LikeLike