Get-Disk vs Get-PhysicalDisk: Why the Lists Differ

Published:

Get-Disk lists disk objects visible to Windows. Get-PhysicalDisk lists physical-disk objects exposed by available storage management providers. On a simple PC, the two lists may describe much of the same hardware. With Storage Spaces, RAID, USB bridges, or other storage layers, the objects and counts can differ.

A mismatch does not automatically mean a drive is missing or defective. First identify which layer each command is showing. Do not initialize, reset, or add a disk to a pool to make the lists match.

Start with two inventories

Open Windows PowerShell as administrator on the computer you are examining. These commands use the Windows Storage module and query information; they do not format disks, change partitions, or require a restart.

Run each block separately:

PowerShell
Get-Disk |
Select-Object Number, FriendlyName, SerialNumber, UniqueId,
BusType, Size, PartitionStyle, OperationalStatus |
Format-List
PowerShell
Get-PhysicalDisk |
Select-Object DeviceId, FriendlyName, SerialNumber, UniqueId,
BusType, Size, MediaType, CanPool, HealthStatus,
OperationalStatus |
Format-List

The list format helps keep long identifiers visible. Keep the full results privately because serial numbers and other identifiers may be sensitive.

If a command is unavailable or returns an error, preserve that error and the Windows version. An unavailable module or provider is a query problem to investigate, not a finding that the computer has no drives.

If an older tutorial uses WMIC and the command is missing, see WMIC Disk Status No Longer Works: Windows Alternatives for the supported WMI query replacement.

A compact status table

For a quick overview, display these five fields in a table. This changes only the output layout. Keep the detailed Format-List inventories above when comparing drive identities.

PowerShell
Get-PhysicalDisk |
Format-Table -Property FriendlyName, MediaType, HealthStatus,
OperationalStatus, Size -AutoSize
FieldHow to read it
FriendlyNameA display name that may be shared by more than one drive.
MediaTypeThe reported media category, such as HDD or SSD. Unspecified does not itself indicate failure.
HealthStatusA reported overall health state. Healthy does not prove that every file or sector is readable.
OperationalStatusReported operating conditions. More than one status may be present.
SizeReported capacity in bytes, not free space in a volume.

Console width may shorten table values. Use Format-List when you need complete identifiers or status details.

What the two views describe

ViewUseful questionImportant limit
Get-DiskWhich disk objects can Windows use at this layer?One object can represent storage assembled from several drives
Get-PhysicalDiskWhich physical-disk objects does a storage provider expose?A controller may not expose every underlying component
Get-VolumeWhich volumes and file systems are available?A volume is not necessarily an entire physical drive

For example, a Storage Spaces virtual disk can appear as one Windows disk while several member drives appear in the physical-disk view. This is an illustrative layout, not a required count for every Storage Spaces configuration.

With hardware RAID, Windows may see the controller’s logical device. The controller’s management utility may be needed to inspect individual members, slots, and failure status. The word “Physical” in a cmdlet name does not force a controller to reveal hardware it does not expose.

There is also a documented Get-Disk limitation for dynamic disks. If Disk Management shows a dynamic configuration, do not assume that the Get-Disk output is a complete inventory of it.

Do not join the lists by number alone

A Number from Get-Disk belongs to the Windows disk view. A DeviceId from Get-PhysicalDisk identifies a provider’s physical-disk object. Matching digits are not enough to establish that they refer to the same device.

For a directly attached drive, compare several available details:

  • Model or friendly name.
  • Serial number.
  • Exact size in bytes.
  • Bus type and connection context.
  • Unique identifier, where the provider exposes a comparable value.

An identical model name and capacity are not sufficient when two matching drives are installed. Blank serial numbers are not matching identities either. Providers and bridges can expose different representations, so do not force an association when the evidence is incomplete.

Also record when you collected the output. A disk number can change after a restart or a change in attached hardware. An old screenshot is not a safe target selector for a command run today.

If you need to connect a drive letter to a physical device, first locate its partition and Windows disk. Then determine whether that disk is a direct device or a virtual device with additional members.

For the drive-letter and disk-number lookup, see Which Drive Is Disk 0 in Windows?.

For Storage Spaces, use the virtual-disk relationship

When you know the system uses Storage Spaces, query its virtual disks first:

PowerShell
Get-VirtualDisk |
Select-Object FriendlyName, UniqueId, Size, HealthStatus,
OperationalStatus |
Format-List

Copy the UniqueId of the virtual disk you intend to inspect. In the next block, replace the placeholder inside the quotes with that exact value. The guard stops the query if it does not identify exactly one object.

PowerShell
$targetUniqueId = 'PASTE-EXACT-VIRTUAL-DISK-UNIQUEID-HERE'
$vd = @(Get-VirtualDisk |
Where-Object { $_.UniqueId -eq $targetUniqueId })
if ($vd.Count -ne 1) {
throw 'Expected exactly one virtual disk. Check the UniqueId.'
}
Get-Disk -VirtualDisk $vd[0] |
Select-Object Number, FriendlyName, UniqueId, Size |
Format-List
Get-PhysicalDisk -VirtualDisk $vd[0] |
Select-Object DeviceId, FriendlyName, SerialNumber, Size,
HealthStatus, OperationalStatus |
Format-List

The first query asks for the associated Windows disk; the second asks for associated physical-disk objects through the provider. This is more meaningful than matching row order or guessing from similar numbers.

It is still a provider view. An empty result or provider error needs investigation in that storage environment. This procedure is not a universal mapper for hardware RAID, every virtual-machine disk, or every external enclosure.

For the separate limits of USB health reporting, see Why CrystalDiskInfo Cannot See an External SSD.

Read status fields within their scope

CanPool = False does not mean “failed.” A drive may be in use, already belong to a pool, or be ineligible for another reason. It is an eligibility field, not a replacement recommendation.

Likewise, HealthStatus = Healthy is a reported status at that layer. It does not prove that every file is readable or replace a review of hardware warnings and recurring I/O errors.

If detailed counters are unavailable, keep them unknown. Do not fill in missing temperature, wear, or error values with zero.

For a query of the available temperature, wear, and error fields, see Get-StorageReliabilityCounter: Temperature, Wear, and Errors. Confirm the selected object and keep unsupported values separate from reported zero.

For a discrepancy that still needs support, provide both inventories, the current disk layout, the controller or enclosure model, and the relevant error text. That evidence explains which layer is visible and which relationship remains uncertain.

Once you understand the storage layers, unequal lists can be an expected result. The task is to establish the right association for the question you are answering, not to make two different inventories contain the same rows.

References

Comments

2 responses to “Get-Disk vs Get-PhysicalDisk: Why the Lists Differ”

  1. […] For the difference between these inventories, see Get-Disk vs Get-PhysicalDisk: Why the Lists Differ. […]

  2. […] For these storage views, see Get-Disk vs Get-PhysicalDisk: Why the Lists Differ. […]

Leave a Reply