PowerTip: Find the Status of Disk Drives in Windows 8 with PowerShell

Summary: Learn how to use Windows PowerShell 3.0 to find the status of disk drives on Windows 8.

Hey, Scripting Guy! Question How can I check on the status of disk drives on my computer running Windows 8?

Hey, Scripting Guy! Answer Use the Get-Disk cmdlet, as shown here.

PS C:\> Get-Disk

Number Friendly Name  Operational Status  Total Size Partition Style

—— ————-                            ————  ———- ———–

0      INTEL SSDSA2BW160G3L                     Online         149.05 GB MBR

1      SAMSUNG HN-M101MBB USB Device            Offline        931.51 GB MBR