Jump to content

Starting an exe from a networkshare


Admin Patrick

Recommended Posts

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

Link to comment
Share on other sites

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 by WYE
syntax wrong in ps
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...