Discussions specific to tape backups
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 » Jul 13, 2016 1:23 pm

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?

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

Re: bulk remove tape drives

Post by v.eremin » Jul 13, 2016 3:13 pm

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 » Jul 18, 2016 4:02 pm

Hi, yes they are showing as individual offline drives.

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

Re: bulk remove tape drives

Post by v.eremin » Jul 18, 2016 4:29 pm

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 9 guests