Posted March 15, 20214 yr I want to start a program after rebooting and used this script, but it's not working. When I run it local in powershell it works. Someone who can help me? pushd "\\fax-dataserver\IT\WVL\04. Software\IT_Monitor\IT_Monitor_live\" & '.\IT Monitor.exe' popd
March 16, 20214 yr Hi, Pulseway Agent runs as "SYSTEM", therefore by default it probably doesn't have access to UNC shares. Have a look here - similar issue, and outlines how to run the Agent as a domain user via group Policy (or if a single system, you can do this via Policies or in the agent itself) Executing MSI installer from Network Location - PowerShell - Pulseway  Â
March 18, 20214 yr What do you expect to see from the application when it is run? E.g. has it got a GUI interface? is it expecting input? It's hard to troubleshoot without the detail. Perhaps replace the script with something that just writes a text file to temp to check the process actually works set-content -Path "$ENV:Temp\TestFile.txt" -Value "test data" if it does - you know the issue does not lie with Pulseway Agent.    Edited March 18, 20214 yr by WYE syntax wrong in ps
Create an account or sign in to comment