Forum Discussion
vaibhavkolhe
Jun 03, 2022Copper Contributor
Executing a .exe using Powershell on a remote server with Azure agent
Hi, I have a Windows 2012 server with a Azure DevOps agent running on it. The agent was registered with a regular Windows NT authority login. I am required to execute a powershell task using the Azu...
Jun 03, 2022
What errors are you receiving in the pipeline?
- vaibhavkolheJun 03, 2022Copper ContributorActually that's the funny part - there is no error displayed in the pipeline, but it executes successfully. However, the outcome of the .exe is not realized (it's supposed to produce a log file on the server). After much trying, we were able to tweak some things and finally found that the PS session was not launching to execute the exe. However, when we login manually to the server,open a PS session and execute the .exe, it runs successfully.
- Jun 03, 2022Can you share how are you calling the .exe?
- vaibhavkolheJun 17, 2022Copper ContributorHi - we were able to finally resolve this. No further help required.