Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mount ISO and change its drive letter with PowerShell - bad pattern
$myISO = 'E:\ISO\Microsoft Bookshelf Basic\BSBASIC2.ISO'
Mount-DiskImage $myISO
Get-DiskImage $myISO | Get-Volume
Get-DiskImage $myISO | Get-Volume | Get-Partition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment