PS H:\> Add-VBRBackupJob -name "No_stuff" -Server (Get-VBRServer -name "this server") -Objects VMware-RCLI-3.5-U2
Add-VBRBackupJob : Value cannot be null.
Parameter name: path
At line:1 char:17
+ Add-VBRBackupJob <<<< -name "No_stuff" -Server (Get-VBRServer -name "this server") -Objects VMware-RCLI-3.5-U2
+ CategoryInfo : InvalidOperation: (Veeam.Backup.Po...AddVBRBackupJob:AddVBRBackupJob) [Add-VBRBackupJob]
+ FullyQualifiedErrorId : Backup,Veeam.Backup.PowerShell.Command.AddVBRBackupJob
An issue I see is that I need to set some type of junk path when creating the job which in turn creates a junk repo. Is there a way to set backup repo when creating the job? I just started playing around with v6. I may just be confused on how to properly use a backup repo.
In the future I would like to see an Entities property (like Add-VBRJobObject) for Add-VBRBackupJob. Since Veeam can backup VMs from multiple vCenter servers the possibility arises that you could have multiple VMs with the same name. If I am creating a job via powershell and adding a VM via its name (string) and that VM's name is duplicated in more than one environment Veeam will put all VMs with that name into that newly created job.