we just upgraded our Veeam Installation from v11 to v12.
In one of our powershell scripts, I call the following function, because its faster than get-vbrjob:
Code: Select all
[Veeam.Backup.Core.CBackupJob]::GetAll()
Code: Select all
Exception calling "GetAll" with "0" argument(s): "Object reference not set to an instance of an object."
At line:1 char:1
+ [Veeam.Backup.Core.CBackupJob]::GetAll()
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : NullReferenceException
any ideas?