In an earlier post you will find a Powershell script to change the VM Notes setting in Veeam Backup. This old script worked for previous version of Veeam Backup and Replication.
In Veeam Backup v7 the Powershell code is a little bit changed so I had to rewrite the script. The script below will enable the VM notes for a job, if the option is disabled.
if((Get-PSSnapin -Name VeeamPSSnapIn -ErrorAction SilentlyContinue) -eq $null){ Add-PSSnapin "VeeamPSSnapIn" } foreach($vbrjob in (get-vbrjob | Sort Name)){ $options = $vbrjob.GetOptions() if($options.ViSourceOptions.SetResultsToVmNotes -eq $false){ $options.ViSourceOptions.SetResultsToVmNotes = $true Write-Host "Enable set results to VM notes for job $($vbrjob.Name)" } $vbrjob.SetOptions($options) }
how do you change the Note?