PowerShell script exchange
Post Reply
rick196149
Lurker
Posts: 2
Liked: never
Joined: Oct 22, 2016 10:50 pm
Full Name: Richard
Contact:

Report on tapes used and free script to create in version 9

Post by rick196149 »

Is there a script that can be run to email me the list of tapes that are free in b&R version 9 I looked at the commands in Veeam Backup and Replication and all point to V8.
veremin
Product Manager
Posts: 20284
Liked: 2258 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Report on tapes used and free script to create in versio

Post by veremin »

Tape commandlets have changed significantly between version 8 and version 9. So, you still can use the following construction to find out bardcodes of free tapes:

Code: Select all

Get-VBRTapeMedium | ?{($_.isfree -eq $True)} | select Barcode
Then, you need to generate an email, using Windows PowerShell functionality and pass list of barcodes as an email body.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests