Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Executing a PowerShell command. Visible window is possible?
-
Hello.
I'm working on a execution plan that needs to start a process remotely on one of our servers. This process is intended (among other tasks) to monitor some server activity, so needs to be visible for anyone looking at the computer screen.
When I execute the command (this is just an example):
Start-Process "notepad.exe"
I found looking at the task manager that the process have been started correctly, but it's not a windowed instance, it's hidden.
Any solutions?
Thanks in advance.
-
You can try this method with the BuildMaster service (INEDOBMSVC) or agent (INEDOBMAGT) if it's running on a remote server:
http://www.codeproject.com/Articles/4891/Interact-With-Desktop-when-Installing-Windows-Serv