Skip to content

Commit 47b91e7

Browse files
committed
Changed variable. Fixes #17
1 parent 5fc0153 commit 47b91e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/functions/Initialize-PSDCVhdDisk.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114

115115
# Create the partition, set the drive letter and format the volume
116116
try {
117-
$volume = Get-Disk -Number $disk.DiskNumber | New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "PSDatabaseClone" -AllocationUnitSize $AllocationUnitSize -Confirm:$false
117+
$volume = Get-Disk -Number $disk.Number | New-Partition -UseMaximumSize | Format-Volume -FileSystem NTFS -NewFileSystemLabel "PSDatabaseClone" -AllocationUnitSize $AllocationUnitSize -Confirm:$false
118118
}
119119
catch {
120120
# Dismount the drive

0 commit comments

Comments
 (0)