July 11th, 2015

PowerTip: Use PowerShell to Get Disk Drive Overview

Doctor Scripto
Scripter

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

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.