PowerShell script exchange
staun
Enthusiast
Posts: 59 Liked: 5 times
Joined: Jun 30, 2017 8:48 am
Full Name: Jørgen Staun
Contact:
Post
by staun » Jun 12, 2019 8:01 am
this post
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.
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: 20732 Liked: 2401 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:
Post
by veremin » Jun 13, 2019 4:26 pm
this post
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!
Users browsing this forum: No registered users and 4 guests