PowerShell script exchange
Post Reply
fermon
Novice
Posts: 5
Liked: never
Joined: Oct 11, 2014 2:47 am
Full Name: fermon grays
Contact:

Backup Copy Job

Post by fermon »

Im running a report for success and failure for *Backup Copy Jobs * The Get-VBRsessions cmlet seems to return the exact info Im looking for , with one exception. Im need to find * Backup Copy Jobs* . The Job Type property all show *Backup* Does this cmlet return Backup Copy Jobs ? Is there a property I'm missing that indicates Backup copy ?
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Copy Job

Post by veremin »

Does Get-VBRSession show the information regarding the said job? I'm asking, since if I'm not mistaken it's a new commandlet that has been introduced in version 8. Since it's still a new one, it currently only returns tape job sessions. Thanks.
fermon
Novice
Posts: 5
Liked: never
Joined: Oct 11, 2014 2:47 am
Full Name: fermon grays
Contact:

Re: Backup Copy Job

Post by fermon »

we'll Im currently running version 7.0.0.87 the commandlet does in fact return Backup Jobs, but it doesn't seem to return Backup Copy. Im looking for a way to return the success and failures for Backup Copy jobs last run.
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Copy Job

Post by veremin »

Try to assign a job to a variable and then use .FindLastSession() method. Thanks.
Post Reply

Who is online

Users browsing this forum: aruns and 9 guests