![]() ![]() Type the following command to list the available partitions in the drive and press Enter:.To extend the partition size with PowerShell, use these steps: Resize-Partition -DiskNumber 1 -PartitionNumber 1 -Size (20GB) Type the following command to resize the partition to 20GB and press Enter:.Also, the SizeMin and SizeMax are specified in bytes, which means that you may need to use an online converter to understand the information in gigabytes or any other size. In the command, make sure to change the number of disk and partition that corresponds to your situation. Get-PartitionSupportedSize -DiskNumber 1 -PartitionNumber 1 (Optional) Type the following command to understand the minimum and maximum space you can resize the partition and press Enter:.In the command, make sure to change 1 for the number of the drive with the partition you want to shrink. Type the following command to list the available partitions on the drive and Enter:.Type the following command to list all the drives and their total size, and press Enter:.Search for PowerShell, right-click the top result, and select the Run as administrator option.To make a partition smaller with PowerShell, use these steps: ![]() It’s also possible to resize partitions using PowerShell commands. Resize partition using PowerShell on Windows 10 (Optional) Type the following command to shrink the partition by its maximum space reclaimable and press Enter:.In the command, make sure to change 20480 for the amount (in megabytes) you want to shrink the partition. ![]() Type the following command to shrink the drive partition by a specific amount (in megabytes) and press Enter:.Type the following command to determine the space you can decrease the partition and press Enter:.In the command, make sure to change 4 for the number that represents the partition you want to modify. Type the following command to select the volume you want to shrink the partition and press Enter:.Type the following command to list the volumes and press Enter:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |