bulk remove tape drives

Everything about backing up to tape

bulk remove tape drives

Veeam Logoby LawrenceParson » Wed 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?
LawrenceParson
Lurker
 
Posts: 2
Liked: never
Joined: Wed Jul 13, 2016 1:17 pm
Full Name: Lawrence Parson

Re: bulk remove tape drives

Veeam Logoby v.Eremin » Wed 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.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: bulk remove tape drives

Veeam Logoby LawrenceParson » Mon Jul 18, 2016 4:02 pm

Hi, yes they are showing as individual offline drives.
LawrenceParson
Lurker
 
Posts: 2
Liked: never
Joined: Wed Jul 13, 2016 1:17 pm
Full Name: Lawrence Parson

Re: bulk remove tape drives

Veeam Logoby v.Eremin » Mon 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.
v.Eremin
Veeam Software
 
Posts: 13266
Liked: 968 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to Tape



Who is online

Users browsing this forum: No registered users and 4 guests