I've been using the Get-VBRTapeJob in a script to get the LastStatus and LastResult state.
- Code: Select all
$jobs = Get-VBRTapeJob -Name "Weekly_Backup*"
foreach($jobtoshow in $jobs)
if ($jobtoshow.GetLastState() -ne "Stopped" -Or $jobtoshow.GetLastResult() -ne "Success")
After upgrade to Veeam Version 8 the script stopped working.
I found out, that the commands don't work anymore like this.
I had to change $jobtoshow.GetLastState() and $jobtoshow.GetLastResult() to $jobtoshow.LastState and $jobtoshow.LastResult
Are there more commands changed in Version 8?