$DriveLetter = "C"; Resize-Partition -DriveLetter $DriveLetter -Size ((Get-PartitionSupportedSize -DriveLetter $DriveLetter).SizeMax)