Random Project

Super

to be compatible with the jobs “backup copy”

Add this after “$status = $job.GetLastResult()” :
if ($status -eq “None”)
{
$status = (Get-VBRBackupSession -Name $job.name | sort -Descending)[1].Result
}

(Source : https://forums.veeam.com/powershell-f26/result-value-from-backup-copy-jobs-is-always-none-t20512.html#p186505)