Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
LawrenceParson
Lurker
Posts: 2
Liked: never
Joined: Jul 13, 2016 1:17 pm
Full Name: Lawrence Parson
Contact:

bulk remove tape drives

Post by LawrenceParson »

i ahve 2513 tape drives showing in my veeam environment after a member of my team tried to add one of our Dell tape libraries.

Is there a way to remove them all in one hit instead of the one by one process?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: bulk remove tape drives

Post by veremin »

Are they shown as individual, offline drives? You may want to write a PS script in order to delete those in automatic fashion. Thanks.
LawrenceParson
Lurker
Posts: 2
Liked: never
Joined: Jul 13, 2016 1:17 pm
Full Name: Lawrence Parson
Contact:

Re: bulk remove tape drives

Post by LawrenceParson »

Hi, yes they are showing as individual offline drives.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: bulk remove tape drives

Post by veremin »

I don't have a console at hand, but the script should look like this:

Code: Select all

asnp VeeamPSSnapin
Get-VBRTapeDrive | where {$_.Location -eq "Offline"} | Remove-VBRTapeLibrary 
Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests