Quick overview of topics covered in this article
PowerShell is a powerful Windows tool that helps users and IT professionals to check complete system hardware details such as CPU, GPU, RAM, SSD, and motherboard using simple commands. This guide explains step-by-step how to open PowerShell and run commands to get accurate hardware information in Windows.
RAM (Random Access Memory) is one of the most important components of a computer system.
RAM directly affects system speed, multitasking, and performance.
To upgrade a system or troubleshoot issues, it is important to know complete RAM details such as type (DDR3, DDR4, DDR5), size, speed, slots, manufacturer, and model.
PowerShell is a powerful Windows tool that helps users and IT professionals to check full RAM details using simple commands.
Now PowerShell is ready to run commands.
Get-CimInstance Win32_PhysicalMemory
This command shows complete RAM information.
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, Manufacturer, PartNumber, Capacity, Speed
Get-CimInstance Win32_PhysicalMemory | Select BankLabel,
@{Name="Capacity(GB)";Expression={[math]::Round($_.Capacity/1GB,2)}}, Speed
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, SMBIOSMemoryType
DDR Codes
24 = DDR3
26 = DDR4
34 = DDR5
Get-CimInstance Win32_PhysicalMemory | Select BankLabel,
@{Name="DDR_Type";Expression={
switch ($_.SMBIOSMemoryType) {
24 {"DDR3"}
26 {"DDR4"}
34 {"DDR5"}
default {"Unknown"}
}}}
Get-CimInstance Win32_ComputerSystem | Select @{Name="TotalRAM(GB)";Expression={[math]::Round($_.TotalPhysicalMemory/1GB,2)}}
Get-CimInstance Win32_PhysicalMemoryArray | Select MemoryDevices
(Get-CimInstance Win32_PhysicalMemory).Count
Get-CimInstance Win32_PhysicalMemory | Select DeviceLocator, BankLabel, Capacity, Speed
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, FormFactor
FormFactor Meaning
8 = Desktop RAM (DIMM)
12 = Laptop RAM (SODIMM)
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, ConfiguredVoltage
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, SerialNumber
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, Manufacturer, PartNumber, SerialNumber,
@{Name="Capacity(GB)";Expression={[math]::Round($_.Capacity/1GB,2)}},
Speed, FormFactor,
@{Name="DDR_Type";Expression={
switch ($_.SMBIOSMemoryType) {
24 {"DDR3"}
26 {"DDR4"}
34 {"DDR5"}
default {"Unknown"}
}}} | Format-Table -AutoSize
This command shows DDR type, RAM size, speed, manufacturer, model, serial number, and RAM form factor.
SSD (Solid State Drive) is an important storage device that improves system speed and performance.
To upgrade storage or troubleshoot issues, it is necessary to know complete SSD details such as type (NVMe or SATA), model, size, health status, firmware, and partitions.
PowerShell is a powerful Windows tool that helps users and IT professionals to check full SSD details using simple commands.
Get-PhysicalDiskGet-PhysicalDisk | Select FriendlyName, MediaType, Size
Get-PhysicalDisk | Select FriendlyName, MediaType,
@{Name="Size(GB)";Expression={[math]::Round($_.Size/1GB,2)}}
Get-PhysicalDisk | Select FriendlyName, BusType, MediaType
BusType Meaning
NVMe = NVMe SSD
SATA = SATA SSD
USB = External SSD
Get-Disk | Select Number, FriendlyName, Size, PartitionStyle
PartitionStyle Meaning
GPT = Modern partition style
MBR = Old partition style
Get-Partition
Get-Volume | Select DriveLetter, FileSystem, Size, SizeRemaining
Get-PhysicalDisk | Select FriendlyName, HealthStatus
Get-PhysicalDisk | Select FriendlyName, FirmwareVersion
Get-PhysicalDisk | Select FriendlyName, SerialNumber
Get-PhysicalDisk | Select FriendlyName, SerialNumber, FirmwareVersion, MediaType, BusType,
@{Name="Size(GB)";Expression={[math]::Round($_.Size/1GB,2)}}, HealthStatus |
Format-Table -AutoSize
This command shows SSD model, type, size, firmware version, serial number, and health status.
Popular Post
Category
Page
Page
Grow Your Business Online – Get 30% OFF
Boost your brand visibility, generate quality leads, and increase sales with our expert Digital Marketing Solutions.
Get Service Information