PowerShell: Automatically Resize Disk

User avatar
Site Admin
Posts: 17
Joined: Mon Jun 17, 2019 2:19 pm

PowerShell: Automatically Resize Disk

Postby hamid Mon Jul 08, 2019 11:04 am

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
Microsoft MVP: Cloud and Datacenter Management

Return to “Scripting Methods”

Who is online

Users browsing this forum: No registered users and 1 guest