Results 7 comments of HyperVize

Actually `$DriveLetter = ($MountResult | Get-Disk | Get-Partition).DriveLetter` is not working properly. Pass through should be added at least for `$MountResult` like `$MountResult = Mount-DiskImage $vhdx -PassThru` But even then...

Assuming you don't have any virtual disks mounted a quick fix could be changing the code to: I changed `$MountResult = Mount-DiskImage $vhdx -PassThru` and `$DriveLetter = (Get-Disk | ?{$_.FriendlyName...

Would be nice to have such feature.

Looking forward to this implementation.

Having the same issue, fixed with the ENV variable change.

tyvm, I also switched to your fork.