I have a exe file on remote computer which opens a browser and run some test cases when i run it. Now, When i try to run the same exe file remotely through PowerShell script it is not working as expected and giving some wrong output. If i login to remote computer manually and run the exe file it is working as expected.
i need to open a new remote session then open a new command prompt and then run the exe, how can achieve it through PowerShell script. Below is the script i have written