Predict Mounted ISO Drive Letter?

Hello,
I run a few PowerShell scripts that attempt to install software from a mounted ISO file. For this they need the full path to the installer (e.g. Z:\software\installer.msi).

How can I specify or otherwise determine location the needed ISO has been mounted to for software installations?

Thanks!