Comprehensive data protection for all workloads
Post Reply
askuzovlev
Lurker
Posts: 1
Liked: never
Joined: Oct 01, 2010 8:28 am
Full Name: Andrey
Contact:

help with script

Post by askuzovlev » Dec 17, 2010 8:47 am

in Version 5 changed paramertr RetainCycles?

in 4 it was so
Set-VBRJobOptions (Get-VBRJob test)-RetainCycles X

thank you

Alexey D.

Re: help with script

Post by Alexey D. » Dec 17, 2010 11:17 am

Hello Andrey,

Yes, the syntax has been changed. Here is an example of new approach, try it:

Code: Select all

$job = Get-VBRJob | where {$_.Name -eq "PS_Job"}
$opt = $job | Get-VBRJobOptions
$opt.RetainCycles = 3

Set-VBRJobOptions -Job ($job) -Options ($opt)
Hope this helps!

Post Reply

Who is online

Users browsing this forum: DGrinev, Google [Bot] and 35 guests