We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fc0153 commit 47b91e7Copy full SHA for 47b91e7
1 file changed
internal/functions/Initialize-PSDCVhdDisk.ps1
@@ -114,7 +114,7 @@
114
115
# Create the partition, set the drive letter and format the volume
116
try {
117
- $volume = Get-Disk -Number $disk.DiskNumber | New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "PSDatabaseClone" -AllocationUnitSize $AllocationUnitSize -Confirm:$false
+ $volume = Get-Disk -Number $disk.Number | New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "PSDatabaseClone" -AllocationUnitSize $AllocationUnitSize -Confirm:$false
118
}
119
catch {
120
# Dismount the drive
0 commit comments