since I'm a total noob in powershell and I can only modify scripts made from others , I need some help on this: I created a script to modify the VM notes attributes like this:
- Code: Select all
$job = Get-VBRJob -Name MyJob
$opt = $job.GetOptions()
$opt.ViSourceOptions.VmAttributeName = "Backup"
$opt.ViSourceOptions.SetResultsToVmNotes = $true
How can I read every job in the Veeam Server, select only backup jobs, and change this parameter to all of them?