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

Get-VBRTapeJobs stuck

Post by chas0rde »

Hello
I am currently working on a script to notify about long running jobs.
The backup-to-disk part is working

But once I try to get the Tape-jobs using Get-VBRTapeJobs the script gets stuck
The same happens when executing the command in a PS-window directly

The execution starts but no output is generated and it does not terminate

Anyone else having this issue?
chas0rde
Enthusiast
Posts: 28
Liked: 3 times
Joined: Jan 14, 2015 7:01 am
Contact:

Re: Get-VBRTapeJobs stuck

Post by chas0rde »

As far as I see it the command runs through. But it takes about 5 minutes to do so
veremin
Product Manager
Posts: 20411
Liked: 2300 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRTapeJobs stuck

Post by veremin »

Get-VBRTapeJob is not the lightest cmdlet that we have, indeed. Mostly due to its loading media pools a job is pointed to as well as tapes present inside these pools. Thus, it takes time to execute. Thanks.
chas0rde
Enthusiast
Posts: 28
Liked: 3 times
Joined: Jan 14, 2015 7:01 am
Contact:

Re: Get-VBRTapeJobs stuck

Post by chas0rde »

Yes.
But to determine current runtime of active Tape-Jobs there is no way around it right?
veremin
Product Manager
Posts: 20411
Liked: 2300 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRTapeJobs stuck

Post by veremin »

Unfortunately, not. At least I'm not aware of potential workaround. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests