PowerShell script exchange
Post Reply
richnavis
Lurker
Posts: 1
Liked: never
Joined: May 16, 2018 10:34 pm
Full Name: Rich Navis
Contact:

Get-VBRSession

Post by richnavis »

Has anyone used this command with any success? I'm looking to get results data from my backup to tape jobs, but this command doesn't seem to accept any parameters I send it. I've tried passing in the tape job name but I get this error...

Get-VBRSession : Cannot bind parameter 'Job'. Cannot convert the "Basic Jobs to AWS Tape" value of type
"System.String" to type "Veeam.Backup.PowerShell.Infos.VBRJob".

Can anyone help?
veremin
Product Manager
Posts: 20406
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRSession

Post by veremin »

You need to get a job first, using Get-VBRTapeJob cmdlet. Then, pass the resulting job to Get-VBRSession cmdlet, using -Job parameter. Thanks.
Krishna
Novice
Posts: 7
Liked: never
Joined: Jul 19, 2018 4:14 am
Full Name: Krishna Darbha
Contact:

Re: Get-VBRSession

Post by Krishna »

You can use Get-VBRBackup and rest as follows to get the backup information
veremin
Product Manager
Posts: 20406
Liked: 2298 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Get-VBRSession

Post by veremin »

Get-VBRSession doesn't have any parameters of <CBackup> type. So, Get-VBRBackup is of no help here. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests