Connect with us

How to Format and Partition a Drive With PowerShell [Windows 10]


Windows 10

How to Format and Partition a Drive With PowerShell [Windows 10]

While Windows 10 allows you to partition a hard drive using the control panel or File manager options, if you are facing issues with that, there is always PowerShell option to partition the hard drive. In this post, we will show to how to partition a drive with PowerShell on Windows 10. You can format and partition any disk, including external ones with PowerShell. Here is how to do it.

How to Format and Partition a Drive With PowerShell:

Step 1:

First step is to open PowerShell and identify the disks. Click on start menu and type PowerShell. Now right click on the PowerShell and select open as Administrator. Once the PowerShell is available, type in get-disk and this will fetch the details of the disk.

Related Reading  How to Check Device Performance and Health in Windows 10

Partition a Drive With PowerShell

Step 2:

Now to format the hard drive, type in Clear-Disk -Number X -RemoveData replacing X with your drive number. You can see the hard disk number from the screenshot above.

Partition a Drive With PowerShell

Step 3:

Now to create a new partition use the command, New-Partition -DiskNumber X -UseMaximumSize -IsActive -DriveLetter Y replacing X with your drive number and Y with the drive letter you want to assign to the drive.

In case this command does not work, you can also try Format-Volume -DriveLetter X -FileSystem FAT32 -NewFileSystemLabel USB replacing X with your drive number. You can also change the volume FAT32 to NTFS using this option.

Continue Reading

Nirmal is a Technology Blogger and a Microsoft MVP in Windows. He can be contacted at nirmal@nirmaltv.com. You can find Nirmal on , and .

Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

More in Windows 10

Recent Articles

Advertisement

Trending Articles

Latest in Windows 10

Subscribe to YouTube Channel

Like Us on Facebook

Sponsors

sponsors
To Top