If you write a Veeam Powershell script, many things will work. However, trying to start a job shows the following exception: "Start-VBRJob : Exception has been thrown by the target of an invocation".
Technical support just wasted 2 days on this, and left me with an "I'll get back to you later" for an answer. However, there is a Tools | Powershell menu item in v5 that opens a shell that will actually do a Start-VRBJob. The UAC prompt was the hint that I needed to run my powershell scripts as Administrator.
You'd think that hint would make it into the doc, but I certainly didn't find it. The exception message is certainly no help.
Hopefully the next user to bump into this will see the exception posted here and not waste so much time. I was seeing the failure on both Windows 7-64 and 2008r2.
REF: 553658
start-vbrjob $job
Start-VBRJob : Exception has been thrown by the target of an invocation.
At line:1 char:13
+ start-vbrjob <<<< $job
+ CategoryInfo : InvalidOperation:
(Veeam.Backup.Po...and.StartVBRJob:StartVBRJob) [Start-VBRJob], Target
InvocationException
+ FullyQualifiedErrorId :
Backup,Veeam.Backup.PowerShell.Command.StartVBRJob
-
- Novice
- Posts: 9
- Liked: never
- Joined: Jan 28, 2011 11:48 pm
- Full Name: Dan Barker
- Contact:
-
- Chief Product Officer
- Posts: 31814
- Liked: 7302 times
- Joined: Jan 01, 2006 1:01 am
- Location: Baar, Switzerland
- Contact:
Who is online
Users browsing this forum: No registered users and 6 guests