$part = Get-Volume -DriveLetter C | Get-Partition
$part | Resize-Partition -Size ($part | Get-PartitionSupportedSize).sizeMaxSee also:
$part = Get-Volume -DriveLetter C | Get-Partition
$part | Resize-Partition -Size ($part | Get-PartitionSupportedSize).sizeMaxSee also: