Script/API to connect and disconnect additional VHDs to a running virtual machine
As a part of my workflow, I have to connect, disconnect several existing VHDs to my Windows VM over and over. Getting this done via the Settings... menu is convoluted. Is there any scripts or APIs that I can use to run the commands via command line/powershell? I am on Windows.