Is there any way to convince you to modify the script to allow one to specify the drive letter to use? I have multiple external USB 3.0 hard drives on my management system and can't unhook them to create a bootable USB. I looked at the PowerShell code but I'm not familiar with it.
It looks like I might be able to change
$wmi = Get-WmiObject -Class win32_volume -Filter "driveletter = '$diskdrive'"
$wmi = "g:"
But I'm a little nervous to experiment on a live system