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

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

  • Comments 2
  • Likes

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

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Nice tip for the toolkit! There are so many cmdlets to remember... Thanks.

  • @Craig Lussier you are welcome. Yes, there are thousands of cmdlets / functions in Windows 8 and Windows Server 2012. This is why it is important to get really good at using Get-Command, Get-Help and even Show-Command.