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 »

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. »

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: Google [Bot], Semrush [Bot], yasufumi.matsumoto and 30 guests