TL;DR β’ Itβs fine that both XQD cards individually mount as D:. β’ Differentiate them by VolumeLabel, not by drive letter. β’ Modify your script so the SMB share name = VolumeLabel (e.g. XQD_Card1, XQD_Card2). β’ Register your task once via PowerShellβafter that, βhot-plugβ automatically shares whichever card you inserted under the correct name.
Feel free to reach out if you want help auto-removing the share on eject, adding logging to see exactly when each card fires, or any other fine-tuning!
Explanation of Key Changes