I'm close to success but the 'post job activity' script does not start.
Here's what I've done so far: (as per http://www.symantec.com/connect/article ... nd-scripts)
Change PowerShell's execution policy
Edited Powershell profile file
Imported BEMCLI module into PowerShell and added the following line
Code: Select all
import-module "D:\program files\symantec\backup exec\modules\bemcli\bemcli"
$Profile.AllUsersCurrentHost
I then created a PowerShell script to run BackUp Exec job and named it 'script.ps1'
Code: Select all
start-bejob -i "<BackUpExecJobName>-Full" -Confirm:$False
Code: Select all
powershell d:\Scripts\script.ps1
Code: Select all
C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe 'd:\Scripts\script.ps1'
Any ideas anyone?