You will not be able to resize the partition/volume more than the supported SizeMin (minimum size) and SizeMax (maximum size) given from step 3 above. Substitute in the command above with the actual size (ex: '1327' in GB) you want to resize the partition/volume (ex: 'D') by.
Substitute in the command above with the actual drive letter (ex: 'D') you want to resize from step 2 above. Resize-Partition -DriveLetter ' ' -Size TB Resize-Partition -DriveLetter ' ' -Size GB Resize-Partition -DriveLetter ' ' -Size MB Resize-Partition -DriveLetter ' ' -Size KB