I hope someone can help me with this issue.
I am trying to run, import a profile and then run the profile via a powershell script on a remote PC. I have used their page which states all the commands and have put together a script.
However when i run it, it will start, import the profile but then i get a failure when it runs. It then try's to open a log file on failure but it just opens Edge??
This is the script i threw together: -
I have to set the powershell script to send an 'n' keystroke as after its installed, on the first run, it displays a message about going to a help page which is really annoying.
Code: Select all
echo "Setup starting" sleep 3 echo "Starting SyncBackFree" & 'C:\Program Files (x86)\2BrightSparks\SyncBackFree\SyncBackFree.exe' sleep 3 $wshell = New-Object -ComObject wscript.shell; $wshell.AppActivate('SyncBackFree') sleep 5 $wshell.SendKeys('n') sleep 3 echo "Importing eManuals profile" & 'C:\Program Files (x86)\2BrightSparks\SyncBackFree\SyncBackFree.exe' -importprofile "C:\Scripts\eManuals.sps" sleep 2 #echo "Restarting SyncBackFree" & 'C:\Program Files (x86)\2BrightSparks\SyncBackFree\SyncBackFree.exe' eManuals -i
I had raised a ticket but they wouldn't help as its the free version and i need to upgrade for extra support.
Has anyone else had any experience with running this from script?