From the course: Cert Prep: Microsoft Windows Client (MD-100)

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Manage storage with PowerShell

Manage storage with PowerShell

- [Instructor] Windows PowerShell is a command line shell that lets users, generally, network administrators, automate and configure management tasks. Some of those tasks involve managing disks. You can use PowerShell to perform operations on disks in ways that aren't available from tools like disk management and commands like diskpart. If you want to follow along here, insert one removable USB drive. You can see I've done that here in File Explorer. Next, open PowerShell with administrative privileges. I'll search for it from the task bar and then right click and choose run as administrator. When you work with disks in a PowerShell session, you need to know the numbers associated with the disks on your computer. That command is Get-Disk. You can see here that I have a physical hard drive and a USB drive. Zero and one are system and primary partitions and are listed here under number. My USB drive…

Contents