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 0834c96 commit e138808Copy full SHA for e138808
1 file changed
functions/disk/Initialize-PSDCVhdDisk.ps1
@@ -95,7 +95,6 @@
95
try {
96
Write-PSFMessage -Message "Mounting disk $disk" -Level Verbose
97
98
- #$disk = Mount-VHD -Path $Path -PassThru | Get-Disk
99
# Mount the disk
100
Mount-DiskImage -ImagePath $Path
101
@@ -128,7 +127,6 @@
128
127
}
129
catch {
130
# Dismount the drive
131
- #Dismount-VHD -Path $Path
132
Dismount-DiskImage -DiskImage $Path
133
134
Stop-PSFFunction -Message "Couldn't create the partition" -Target $disk -ErrorRecord $_ -Continue
0 commit comments