Skip to content

Instantly share code, notes, and snippets.

@chrisdpa-tvx
Created March 27, 2018 11:10
Show Gist options
  • Save chrisdpa-tvx/4f8d5b2c749b18e369120a9208f73508 to your computer and use it in GitHub Desktop.
Save chrisdpa-tvx/4f8d5b2c749b18e369120a9208f73508 to your computer and use it in GitHub Desktop.
AWS Resize a windows volume
Resize-Partition -DiskNumber 3 -PartitionNumber 2 -Size $((get-disk -Number 3 | Get-PartitionSupportedSize -PartitionNumber 2).sizemax)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment