Get Secondary Job Targets

PowerShell script exchange

Get Secondary Job Targets

Veeam Logoby chas0rde » Wed Aug 05, 2015 11:43 am

Hello
is it possible to get secondary targets for Backupjobs via Powershell?

I want to write a script that pre-runs a job an checks if one of the jobs -to-tape Jobs are still running.

Therefore I would like to read the connected secondary target jobs via powershell from the job

Is this possible?

Also is it possible to supply the calling Job-name to a prescript?

Best regards
chas0rde
Enthusiast
 
Posts: 28
Liked: 3 times
Joined: Wed Jan 14, 2015 7:01 am

Re: Get Secondary Job Targets

Veeam Logoby Dima P. » Wed Aug 05, 2015 4:06 pm

Hi chas0rde,

How about using the get-VBRTapeJob to list the existing tape jobs and then sort them out by the 'object' (which supposed to be the source disk job)?
Dima P.
Veeam Software
 
Posts: 6249
Liked: 440 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Get Secondary Job Targets

Veeam Logoby v.Eremin » Tue Aug 11, 2015 4:46 pm

Also is it possible to supply the calling Job-name to a prescript?

It should be.
v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests