Add-PsSnapin : The Windows PowerShell snap-in "VeeamPSSnapIn" is not installed on this computer.
If you have V11 installed, then there is no need to load the VeeamPSSnapIn. You can remove the part from your script.
V11 uses Modules instead of Snapin's.
WARNING: This cmdlet is no longer supported for computer backup jobs. Use
"Get-VBRComputerBackupJob" instead.
That's just a warning that you should add in your script the new command. Get-VBRJob lists you computer backup jobs today, but could stop doing that in our next version and only list VM Jobs.
You should add Get-VBRComputerBackupJob in your script for the Agent Backup Jobs.
I have now replaced the VBR part. Do you happen to know how I can query the last result of the jobs? At that time with the Get-VBR this went over getresult. However, this now throws me an error message and I can not find any documentation.