Disk number 1 looks like it already has a partition, but not a drive letter. Try using
Get-Partition -DiskNumber 1 -Partition 1 | Set-Partition -NewDriveLetter D
To change the existing partition size, use the Resize-Partition cmdlet.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hey,
i have a hyper V 2019 Server with two hard drives.
I want to format the second hard drive as one partion and give it the Letter D. But it saying the requested access path is already in use. Get-Partition not showing any drive letter D
Watch the Picture below
Why?
Disk number 1 looks like it already has a partition, but not a drive letter. Try using
Get-Partition -DiskNumber 1 -Partition 1 | Set-Partition -NewDriveLetter D
To change the existing partition size, use the Resize-Partition cmdlet.