PowerShell script exchange
Post Reply
baatch
Enthusiast
Posts: 30
Liked: 4 times
Joined: May 16, 2013 12:52 am
Full Name: Alexander
Contact:

Start tape job with powershell possible?

Post by baatch » Nov 05, 2013 6:59 pm

Is it possible to start tape job with powershell?

veremin
Product Manager
Posts: 16892
Liked: 1434 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start tape job with powershell possible?

Post by veremin » Nov 06, 2013 7:51 am

Yep, in order to do it you should use the Start-VBRJob commandlet:

Code: Select all

Get-VBRTapeJob -name "Name of your Tape Job" | Start-VBRJob 
Or

Code: Select all

$TapeJob = Get-VBRTapeJob -name "Name of your Tape Job"
Start-VBRJob –Job $TapeJob
Thanks.

baatch
Enthusiast
Posts: 30
Liked: 4 times
Joined: May 16, 2013 12:52 am
Full Name: Alexander
Contact:

Re: Start tape job with powershell possible?

Post by baatch » Nov 11, 2013 4:25 pm

Thanks for the help, it works :) !

veremin
Product Manager
Posts: 16892
Liked: 1434 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Start tape job with powershell possible?

Post by veremin » Nov 11, 2013 4:27 pm

You’re welcome. Should any other questions arise, don’t hesitate to let us know. Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests