I found that if you disable quick edit, the powershell script works!
This is my .bat file
reg add HKCU\Console /v QuickEdit /t REG_DWORD /d 0 /f
Start "My Installer" powershell.exe -NoProfile -executionpolicy unrestricted .\INSTALL.ps1
I just edited the registry to disable quick edit:
HKEY_CURRENT_USER\Console\QuickEdit
A 1 value is enabled, and a 0 is disabled.