
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.
Check RAM Details Using PowerShell in Windows (Complete Guide)
Introduction
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.
|Step 1: Open PowerShell as Administrator
- Click on the Windows Taskbar search bar.
- Type PowerShell.
- Right-click on Windows PowerShell.
- Click on Run as Administrator.
- Click Yes to allow permission.
Now PowerShell is ready to run commands.
Basic RAM Details Commands
1. Check Full RAM Details (Raw Data)
Get-CimInstance Win32_PhysicalMemory
This command shows complete RAM information.
2. Check RAM Size, Speed, Manufacturer, Model
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, Manufacturer, PartNumber, Capacity, Speed
3. Convert RAM Size into GB
Get-CimInstance Win32_PhysicalMemory | Select BankLabel,
@{Name="Capacity(GB)";Expression={[math]::Round($_.Capacity/1GB,2)}}, Speed
Check RAM Type (DDR3, DDR4, DDR5)
4. Check RAM DDR Type (Code)
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, SMBIOSMemoryType
DDR Codes
24 = DDR3
26 = DDR4
34 = DDR5
5. Check DDR Type in Text Format
Get-CimInstance Win32_PhysicalMemory | Select BankLabel,
@{Name="DDR_Type";Expression={
switch ($_.SMBIOSMemoryType) {
24 {"DDR3"}
26 {"DDR4"}
34 {"DDR5"}
default {"Unknown"}
}}}
Advanced RAM Details
6. Check Total Installed RAM
Get-CimInstance Win32_ComputerSystem | Select @{Name="TotalRAM(GB)";Expression={[math]::Round($_.TotalPhysicalMemory/1GB,2)}}
7. Check Total RAM Slots
Get-CimInstance Win32_PhysicalMemoryArray | Select MemoryDevices
8. Check Used RAM Slots
(Get-CimInstance Win32_PhysicalMemory).Count
9. Check Slot-wise RAM Details
Get-CimInstance Win32_PhysicalMemory | Select DeviceLocator, BankLabel, Capacity, Speed
10. Check Laptop or Desktop RAM Type
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, FormFactor
FormFactor Meaning
8 = Desktop RAM (DIMM)
12 = Laptop RAM (SODIMM)
11. Check RAM Voltage
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, ConfiguredVoltage
12. Check RAM Serial Number
Get-CimInstance Win32_PhysicalMemory | Select BankLabel, SerialNumber
All-in-One RAM Command
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.
Check SSD Details Using PowerShell in Windows (Complete Guide)
Introduction
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.
Step 1: Open PowerShell as Administrator
- Click on the Windows Taskbar search bar.
- Type PowerShell.
- Right-click on Windows PowerShell.
- Click on Run as Administrator.
- Click Yes to allow permission.
- Now PowerShell is ready to run commands.
Basic SSD Details Commands
1. Check All SSD and HDD in System
Get-PhysicalDisk
2. Check SSD Model, Type, and Size
Get-PhysicalDisk | Select FriendlyName, MediaType, Size
3. Convert SSD Size into GB
Get-PhysicalDisk | Select FriendlyName, MediaType,
@{Name="Size(GB)";Expression={[math]::Round($_.Size/1GB,2)}}
Check SSD Type (NVMe or SATA)
4. Check SSD Bus Type
Get-PhysicalDisk | Select FriendlyName, BusType, MediaType
BusType Meaning
NVMe = NVMe SSD
SATA = SATA SSD
USB = External SSD
Advanced SSD Details
5. Check Disk Details
Get-Disk | Select Number, FriendlyName, Size, PartitionStyle
PartitionStyle Meaning
GPT = Modern partition style
MBR = Old partition style
6. Check Drive Partitions
Get-Partition
7. Check Drive Volumes (C, D, E)
Get-Volume | Select DriveLetter, FileSystem, Size, SizeRemaining
8. Check SSD Health Status
Get-PhysicalDisk | Select FriendlyName, HealthStatus
9. Check SSD Firmware Version
Get-PhysicalDisk | Select FriendlyName, FirmwareVersion
10. Check SSD Serial Number
Get-PhysicalDisk | Select FriendlyName, SerialNumber
All-in-One SSD Command
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.
Plan the next step
Discuss your requirements with DigiVista. Scope, licensing, service coverage, delivery and ongoing support are agreed for each engagement.
Apply this to your business
Discuss your current environment, users, locations and priorities so DigiVista can define the appropriate scope.
