PowerShell script exchange
Post Reply
staun
Enthusiast
Posts: 58
Liked: 5 times
Joined: Jun 30, 2017 8:48 am
Full Name: Jørgen Staun
Contact:

Get current status and details for a tape task

Post by staun »

I got a script that export my tapes to I/E slots, but I need it to stop when all slots are full.

I think I could use the info from the Running tasks, but cannot find a solution to get this info via powershell.

Image

I tried with get-vbrjob and get-vbrsession but I got nothing.

Any idea how to get this info from a Running task session?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get current status and details for a tape task

Post by veremin »

Export-VBRTapeMedium cmdlet returns VBRBackupSession object. The object has a Log property. You can parse it to check whether all I/E ports are full or not. Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests