Home How-to Remove partition using PowerShell in Windows 10

Remove partition using PowerShell in Windows 10

35
0

Here is a step-by-step guide on how you can easily delete a partition on your Windows 10 computer using the PowerShell tool.

Step 1: Open the Start menu and search for PowerShell. From the search result, right-click on PowerShell and select the Run as Administrator option.

Step 2: Now, in the PowerShell window, enter the following command:

Get-Volume

Step 3: To remove a particular partition, enter the following command:

Remove-Partition -DriveLetter PARTITION-LETTER

For instance, you want to remove Drive E from your computer, just enter the command as mentioned below:

Remove-Partition -DriverLetter E

Step 4: You will now be asked to confirm the action. Type Y and then hit the Enter key to confirm the deletion.

Once you have completed all the steps mentioned above, the selected partition will be removed, and the space on the drive will show as unallocated.

LEAVE A REPLY

Please enter your comment!
Please enter your name here