Page 1 of 1

PowerShell: Automatically Resize Disk

Posted: Mon Jul 08, 2019 11:04 am
by hamid
Hello Club,

When you are working on a script or trying to write an automation tool in order to manage your environment servers disks this is a good idea to use commands from PowerShell which helps you to ease your work.

Here is a simple command which you can easily add to your script.

Get-PartitionSupportedSize -DiskNumber 3 -PartitionNumber 2