Let’s create a new disk and mount it
New-VHD -Path C:testTest1.vhdx -Dynamic -SizeBytes 20GB
Get-VHD -Path C:testTest1.vhdx | Mount-VHD
Initialize-Disk -Number 1
This time we’ll create a volume that only uses part of the disk
New-Partition… Read the full text.