Check If a Windows Disk Uses MBR or GPT Partition Style

One PowerShell command to see the partition table style (MBR or GPT) of every drive in your PC.

WindowsdiskpowershellpartitionsLow risk
Run `Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, Size` in PowerShell and read the PartitionStyle column.

01Command

Command
$ Get-Disk | Select-Object Number, FriendlyName, PartitionStyle, Size

02What it does

Before installing a second OS, upgrading from BIOS to UEFI boot, or converting a disk, you need to know whether the drive is partitioned as MBR (older style, max 2 TB) or GPT (modern style required by 64-bit Windows 11). Disk Management can show this, but a single PowerShell query gives every disk at once. The PartitionStyle property tells you exactly which table each disk uses, and the command changes nothing on the drive.

03Risk

RiskLow risk
RequirementsWindows 8/10/11 自带 PowerShell 即可;只读查询,不改动任何数据。
!Warning: This check is read-only, but converting between MBR and GPT erases or repartitions the disk — always back up first and never run conversion commands just from reading this page.

04Undo

✓No undo needed — this command does not change persistent state.

05Sources

Last verified: 2026-09-18 · Category: System & Settings

06Related solutions