PowerShell script exchange
Post Reply
jforsythe
Lurker
Posts: 1
Liked: never
Joined: Oct 22, 2014 1:25 pm
Full Name: John P. Forsythe
Contact:

Move tape to Free pool

Post by jforsythe »

Hi Veeam-Users,
I am pretty new to using PS.
I have a lot of problems rewriting used tapes (used by Veeam).
If I move the tape to the FREE media pool, the Job runs fine.
Now I want to move the tape with a PS script to the Free media pool.
This is the script I am using:
$tape = Get-VBRTapeMedium -Online
Move-VBRTapeMedium -Medium $tape -MediaPool Free -Confirm:$false

But I receive this error (in German):
Move-VBRTapeMedium : Methode nicht gefunden: "Void Veeam.Tape.Core.TapeMedium.Clean()".
In Zeile:5 Zeichen:1
+ Move-VBRTapeMedium -Medium $tape -MediaPool Free -Confirm:$false
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Move-VBRTapeMedium], MissingMethodException
+ FullyQualifiedErrorId : System.MissingMethodException,Veeam.Backup.PowerShell.Command.MoveVBRTapeMedium

Can anyone help me out.

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

Re: Move tape to Free pool

Post by veremin »

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests