We have a Server 2022 running Hyper-V. It has a Server 2022 VM on it, that needs to send out alarms via a USB modem. It dials out to a person with a phone, beep-boop-beep... etc. ie via phone line. Old skool.
So, I can connect the modem to the Hyper-V Host, but how can the VM see that device? And (optionally) how can only that VM see that specific device?
I know there are Enhanced Session Mode, but these seem to be more geared for when someone is logged onto an active session. How would I make it work if no one was logged on?
I also looked at this, is this something that might work?
https://devblogs.microsoft.com/scripting/passing-through-devices-to-hyper-v-vms-by-using-discrete-device-assignment/
It seems to be the right idea, but the "May cause your bare-metal server to crash" feature isn't nice. Perhaps it's improved since the writing of that article, or something has superseded it.
Thanks.