PowerTip: Use PowerShell to Get Disk Drive Overview

Summary: Use Windows PowerShell to obtain a disk drive overview.

Hey, Scripting Guy! Question How can I use Windows PowerShell to get a quick overview of my disk drives?

Hey, Scripting Guy! Answer Open Windows PowerShell with Admin rights, and use the Get-Disk function to retrieve
           the disk number, operational status, health status, friendly name, and size, for example:

Get-Disk | select number, operation*, health*, friendly*, size

Comments (7)

Cancel reply

  1. James Brown says:

    [tag:Requires] -Version 4.0

  2. DonPwrShellHunt says:

    [tag:Requires] -Module Storage

  3. The term ‘Get-Disk’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the sp
    elling of the name, or if a path was included, verify that the path is correct and try again.
    At line:1 char:9
    + Get-Disk <<<< | select number, operation*, health*, friendly*, size
    + CategoryInfo : ObjectNotFound: (Get-Disk:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

  4. VGSandz says:

    very nice add-on but works only for win 8 & 8.1 and win2k12, win2k12r2 🙂

  5. Brian D. Coryell says:

    It would be great if this whole archive could be updated with an "Applies to…" header indicating both the required minimum PowerShell version and OS version.

  6. KERR says:

    Great but how about letting people know what OS/PS version this applies to as well, or even pointing out an alternative method for people running 2008 R2/Win7 ?

Skip to main content