Hi powershell friends,
We currently have an environment where everything was scripted when deployed. Unfortunately we didnt set the retry count in the script so I am going about trying to set it now in a separate powershell command-
I tried setting it like this however it seems that EnableRetry is only a valid variable for agent jobs and not backups for our ADLS objects. Wondering if anyone can help out with this?
> foreach ($job in $alljobs) {
>> $job.ScheduleOptions.RetryTimes = "3"
>> $job.ScheduleOptions.EnableRetry = "true"
>> $job.update()}
-
pouya
- Influencer
- Posts: 14
- Liked: 1 time
- Joined: Jun 18, 2018 12:00 am
- Full Name: Phillip Ou Yang
- Location: Sydney, Australia
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 10 guests