Skip to content

Commit e138808

Browse files
committed
Removed commented code
1 parent 0834c96 commit e138808

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

functions/disk/Initialize-PSDCVhdDisk.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@
9595
try {
9696
Write-PSFMessage -Message "Mounting disk $disk" -Level Verbose
9797

98-
#$disk = Mount-VHD -Path $Path -PassThru | Get-Disk
9998
# Mount the disk
10099
Mount-DiskImage -ImagePath $Path
101100

@@ -128,7 +127,6 @@
128127
}
129128
catch {
130129
# Dismount the drive
131-
#Dismount-VHD -Path $Path
132130
Dismount-DiskImage -DiskImage $Path
133131

134132
Stop-PSFFunction -Message "Couldn't create the partition" -Target $disk -ErrorRecord $_ -Continue

0 commit comments

Comments
 (0)