I am currently trying to run a powershell script with RunAsTI64.exe from a batch file that way it can be semi automatic. The only way I have found to run a powershell script with RunAsTi64.exe is to do .\RunAsTI64.exe Powershell.exe then call the powershell script within that powershell session.
Is there anyway I can either pass the script to the Powershell session with something like .\RunAsTI64.exe Powershell.exe "PathtoScript\Script.ps1"
Or can I just run the script using RunAsTI64.exe with something like this
.\RunAsTI64.exe "PathtoScript\Script.ps1"
I am currently trying to run a powershell script with RunAsTI64.exe from a batch file that way it can be semi automatic. The only way I have found to run a powershell script with RunAsTi64.exe is to do .\RunAsTI64.exe Powershell.exe then call the powershell script within that powershell session.
Is there anyway I can either pass the script to the Powershell session with something like .\RunAsTI64.exe Powershell.exe "PathtoScript\Script.ps1"
Or can I just run the script using RunAsTI64.exe with something like this
.\RunAsTI64.exe "PathtoScript\Script.ps1"