Skip to content

Instantly share code, notes, and snippets.

@espio999
Last active September 12, 2021 01:17
Show Gist options
  • Save espio999/bf444844af24d92118dfe314d36b22df to your computer and use it in GitHub Desktop.
Save espio999/bf444844af24d92118dfe314d36b22df to your computer and use it in GitHub Desktop.
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