PowerShell script exchange
Post Reply
Tmitch
Lurker
Posts: 2
Liked: never
Joined: May 25, 2020 9:16 am
Contact:

Get the Objects of a File to Tape Job

Post by Tmitch »

Hey, I´m desperately trying to get the Objects included in a File to Tape Job but I just can´t find a way. I hope someone here knows how I can make this work.
Egor Yakovlev
Veeam Software
Posts: 2536
Liked: 680 times
Joined: Jun 14, 2013 9:30 am
Full Name: Egor Yakovlev
Location: Prague, Czech Republic
Contact:

Re: Get the Objects of a File to Tape Job

Post by Egor Yakovlev »

Try:

Code: Select all

Get-VBRTapeJob | Where-Object {$_.Name -eq "YourTapeJobName"} | Select-Object Object
/Thanks!
Tmitch
Lurker
Posts: 2
Liked: never
Joined: May 25, 2020 9:16 am
Contact:

Re: Get the Objects of a File to Tape Job

Post by Tmitch »

Thanks alot, i tried different things but i never did find the .Object method till now.
veremin
Product Manager
Posts: 20271
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get the Objects of a File to Tape Job

Post by veremin »

Check our online documentation, the classes (VBRBackupToTapeJob, VBRFileToTapeJob) returned by Get-VBRTapeJob are mentioned there along with their properties. Thanks!
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 19 guests