All,
I'm trying to script a way to find what jobs are scheduled and when will they run for a repository. I plan to use this when I'm creating a new job. I have a script that chooses the repository with the most free space but I want to make sure the schedule for the new job doesn't conflict with existing jobs in the repository.
Thanks, Brian
-
- Influencer
- Posts: 14
- Liked: 3 times
- Joined: Jun 20, 2012 10:01 pm
- Full Name: Brian Gilbert
- Contact:
-
- Influencer
- Posts: 14
- Liked: 3 times
- Joined: Jun 20, 2012 10:01 pm
- Full Name: Brian Gilbert
- Contact:
Re: Scheduled Jobs in a Repository
Does Get-VBRJob give information about the repository used by a job?
-
- Enthusiast
- Posts: 94
- Liked: 6 times
- Joined: Apr 21, 2011 7:37 pm
- Contact:
Re: Scheduled Jobs in a Repository
Get-VBRBackupRepository | ? {$_.id -eq (get-vbrjob -name "job name").info.TargetRepositoryId.guid}
-
- Influencer
- Posts: 14
- Liked: 3 times
- Joined: Jun 20, 2012 10:01 pm
- Full Name: Brian Gilbert
- Contact:
Re: Scheduled Jobs in a Repository
Thank you, Pizzim13!This gives me exactly what I needed! I knew there had to be a way but I'm still trying to get proficient with Powershell and the Veeam cmdlets.
Who is online
Users browsing this forum: No registered users and 16 guests