Skip to content

Commit 31fc415

Browse files
committed
Access specific property of ISO image object
Only show the ISO path. No one is interested in the storage type
1 parent d23e6f9 commit 31fc415

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/microwin/Invoke-MicrowinGetIso.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function Invoke-MicrowinGetIso {
169169
try {
170170
Write-Host "Mounting Iso. Please wait."
171171
$mountedISO = Mount-DiskImage -PassThru "$filePath"
172-
Write-Host "Done mounting Iso $mountedISO"
172+
Write-Host "Done mounting Iso `"$($mountedISO.ImagePath)`""
173173
$driveLetter = (Get-Volume -DiskImage $mountedISO).DriveLetter
174174
Write-Host "Iso mounted to '$driveLetter'"
175175
} catch {

0 commit comments

Comments
 (0)