PowerShell script exchange
Post Reply
winnt
Enthusiast
Posts: 29
Liked: 20 times
Joined: Apr 03, 2015 9:19 pm
Full Name: Jason D
Contact:

How do I Protect a tape via PowerShell?

Post by winnt »

Hello everyone,

How do I protect a tape via PowerShell? Currently I manually highlight tapes and right-click and choose "Protect" but would prefer a PowerShell command to add to my offsite tape script. I am assuming I need to set "ProtectedBySoftware" to True.

Thank you.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: How do I Protect a tape via PowerShell?

Post by veremin »

You can do via the following commandlet:

Code: Select all

Enable-VBRTapeProtection -Medium [VBRTapeMedium[]]
Thanks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 17 guests