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?
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jul 13, 2016 1:17 pm
- Full Name: Lawrence Parson
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: bulk remove tape drives
Are they shown as individual, offline drives? You may want to write a PS script in order to delete those in automatic fashion. Thanks.
-
- Lurker
- Posts: 2
- Liked: never
- Joined: Jul 13, 2016 1:17 pm
- Full Name: Lawrence Parson
- Contact:
Re: bulk remove tape drives
Hi, yes they are showing as individual offline drives.
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: bulk remove tape drives
I don't have a console at hand, but the script should look like this:
Thanks.
Code: Select all
asnp VeeamPSSnapin
Get-VBRTapeDrive | where {$_.Location -eq "Offline"} | Remove-VBRTapeLibrary
Who is online
Users browsing this forum: No registered users and 8 guests