Jump to content

Starting an exe from a networkshare


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...