The production script was a series of lines like this for B&R v4:
Code: Select all
start-vbrjob -name "Jobname1"
start-vbrjob -name "Jobname2"
Code: Select all
Start-VBRJob [-Job] <CBackupJob[]> [-FullBackup] [-RetryBackup] [-RunAsync]
[-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPa
rameters>]
Code: Select all
Start-VBRJob : Cannot bind parameter 'Job'. Cannot convert the "Jobname1" value
of type "System.String" to type "Veeam.Backup.Core.CBackupJob".
At line:1 char:18
+ start-vbrjob -job <<<< 'Jobname1'
+ CategoryInfo : InvalidArgument: (:) [Start-VBRJob], ParameterBi
ndingException
+ FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Veeam.Backup.Powe
rShell.Command.StartVBRJob