PowerShell script exchange
Post Reply
chas0rde
Enthusiast
Posts: 28
Liked: 3 times
Joined: Jan 14, 2015 7:01 am
Contact:

Get Secondary Job Targets

Post by chas0rde »

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
Dima P.
Product Manager
Posts: 14726
Liked: 1706 times
Joined: Feb 04, 2013 2:07 pm
Full Name: Dmitry Popov
Location: Prague
Contact:

Re: Get Secondary Job Targets

Post by Dima P. »

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)?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get Secondary Job Targets

Post by veremin »

Also is it possible to supply the calling Job-name to a prescript?
It should be.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests