Move tape to Free pool

PowerShell script exchange

Move tape to Free pool

Veeam Logoby jforsythe » Wed Oct 22, 2014 1:36 pm

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
jforsythe
Lurker
 
Posts: 1
Liked: never
Joined: Wed Oct 22, 2014 1:25 pm
Full Name: John P. Forsythe

Re: Move tape to Free pool

Veeam Logoby v.Eremin » Wed Oct 22, 2014 1:45 pm

v.Eremin
Veeam Software
 
Posts: 13281
Liked: 970 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 3 guests