Hi All,

I am creating job to copy files from source to destination on the fly using powershell API scripts.

How can i add notifications settings in the powershell script.

If i am configuring upload job, Repliweb UI has option to set notifications using upload properties window to set "On Completion" - success, Error and Abort.

But here I am using script to create a job and need to do the notification settings to track job status.

Below is my code:

$test = add-pssnapin r1_ps_api
$R1session = Get-R1Session
$R1session.connect("","testacc","test"," test","",$false,"")
echo "edge_override"
$qual=" -name=sen_test -edge= -user=testacc -edge_password=test -type=replication -source_dir=\\\To_QA\source -target_directory=\\\To_QA\destination"
echo "edge_2"