in Version 5 changed paramertr RetainCycles?
in 4 it was so
Set-VBRJobOptions (Get-VBRJob test)-RetainCycles X
thank you
-
- Lurker
- Posts: 1
- Liked: never
- Joined: Oct 01, 2010 8:28 am
- Full Name: Andrey
- Contact:
Re: help with script
Hello Andrey,
Yes, the syntax has been changed. Here is an example of new approach, try it:
Hope this helps!
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)
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot], yasufumi.matsumoto and 30 guests