Hello,
How to get the state for Schedules -> Run the job automatically is enabled or not for backup copy with Get-VBRBackupCopyJob
-
- Veeam Legend
- Posts: 811
- Liked: 126 times
- Joined: May 11, 2018 8:42 am
- Contact:
-
- Veeam Software
- Posts: 2000
- Liked: 662 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: Get-VBRBackupCopyJob schedule
It can be determined with NextRun property. If it's empty, automatic runs are disabled:
Best regards,
Oleg
Code: Select all
(Get-VBRBackupCopyJob).NextRun
Oleg
-
- Veeam Legend
- Posts: 811
- Liked: 126 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Get-VBRBackupCopyJob schedule
Thanks for your answer.
However this is also empty when schedule is enabled and set with "after job".
Is there an other way ?
I want to check if schedule is enable or not.
If it's enable I want to get the schedule (day / month / after job / periodically).
I need to be sure the schedule is enable or not and do not depend on the "type"
However this is also empty when schedule is enabled and set with "after job".
Is there an other way ?
I want to check if schedule is enable or not.
If it's enable I want to get the schedule (day / month / after job / periodically).
I need to be sure the schedule is enable or not and do not depend on the "type"
-
- Veeam Legend
- Posts: 811
- Liked: 126 times
- Joined: May 11, 2018 8:42 am
- Contact:
Re: Get-VBRBackupCopyJob schedule
Hello,
I hope you can help me soon on this.
I hope you can help me soon on this.
Who is online
Users browsing this forum: No registered users and 10 guests