PowerShell script exchange
Post Reply
Tarqy
Service Provider
Posts: 33
Liked: 4 times
Joined: Aug 08, 2014 1:51 pm
Full Name: Barry Knox
Contact:

Tape Used Capacity

Post by Tarqy » May 02, 2017 1:00 pm

Does anyone have a script that can check the used capacity across all tapes in a job.

I've been asked to provide the totals for data domain sizing but do not have access to Veeam ONE

Thanks
VMCE

v.eremin
Product Manager
Posts: 16358
Liked: 1347 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Tape Used Capacity

Post by v.eremin » May 02, 2017 2:51 pm 1 person likes this post

Check the following example:

Code: Select all

ASnp VeeamPSSNapin
Get-VBRTapeMedium | Format-Table @{N="Barcode";E={$_.barcode}}, @{N="Used space";E={($_.capacity - $_.free)/1gb}}, @{N="Capacity";E={($_.capacity)/1gb}} 
Thanks.

Tarqy
Service Provider
Posts: 33
Liked: 4 times
Joined: Aug 08, 2014 1:51 pm
Full Name: Barry Knox
Contact:

Re: Tape Used Capacity

Post by Tarqy » May 03, 2017 2:19 pm

Perfect, Thank you.
VMCE

v.eremin
Product Manager
Posts: 16358
Liked: 1347 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Tape Used Capacity

Post by v.eremin » May 04, 2017 12:08 pm

You're welcome. Contact us, if other assistance with scripting is needed.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests