Before posting, and to avoid disappointment, please read the following:

  • This forum is not for 2BrightSparks to provide technical support. It's primarily for users to help other users. Do not expect 2BrightSparks to answer any question posted to this forum.
  • If you find a bug in any of our software, please submit a support ticket. It does not matter if you are using our freeware, a beta version or you haven't yet purchased the software. We want to know about any and all bugs so we can fix them as soon as possible. We usually need more information and details from you to reproduce bugs and that is better done via a support ticket and not this forum.

Running with powershell

SyncBackFree is the freeware version of SyncBack. It is *not* an evaluation version of SyncBackPro/SE.
Post Reply
MajorLEN
Newbie
Newbie
Posts: 1
Joined: Wed Mar 09, 2022 2:02 pm

Running with powershell

Post by MajorLEN »

Hi Guy's

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: -

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 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.

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?
BBaker
Newbie
Newbie
Posts: 1
Joined: Tue Sep 12, 2023 9:42 pm

Re: Running with powershell

Post by BBaker »

Did you ever get anywhere with this?

I am trying to get powershell to run a profile without success.
Post Reply