@Aran Billen Thanks for posting in our Q&A. From your description, did you mean that you package Loom.exe and install command in an intunewin file and then create a PowerShell script to install it? If there is anything misunderstanding, please correct me.
Please note that you successfully run in local doesn't mean it will also work via intune. To confirm if it can work well via intune, it is suggested to run the scripts in the System account using the psexec tool locally:
psexec -i -s
If there is anything update, feel free to let us know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.