Apologies if this has already been discussed, but I couldn't find it in the forum.
We use tag combinations for our backup jobs. I'd like to set this with Powershell, but I don't see how to do it. Adding an array of tags simply adds them as individual tags:
Code: Select all
$job = Get-VBRJob -Name testjob
$tags = Find-VBRViEntity -Tags | ? { $_.Name -eq "dummy1" -or $_.Name -eq "dummy2" }
Add-VBRViJobObject -Job $job -Entities $tags
Get-VBRJobObject -Job $job
Name Type ApproxSize Location
---- ---- ---------- --------
dummy1 Include 0 B xxx
dummy2 Include 0 B xxx
Cheers,
Marc