Maintain control of your Microsoft 365 data
Post Reply
tsanfilipp
Enthusiast
Posts: 31
Liked: 1 time
Joined: Sep 19, 2016 3:49 pm
Full Name: Tim S
Location: Dallas, Texas
Contact:

Get Job schedule policies

Post by tsanfilipp »

Is there a way to pull all of the job policies for all jobs into a report? I see in the documentation that there is a get-vbojobschedule powershell script, but it is not actually available when I try and run it.

Basically, I'm trying to get a list of all the jobs and their respective time policies (15 minues, 30 minutes, 4 hours, etc).
nielsengelen
Product Manager
Posts: 5635
Liked: 1181 times
Joined: Jul 15, 2013 11:09 am
Full Name: Niels Engelen
Contact:

Re: Get Job schedule policies

Post by nielsengelen »

Hi Tim,

Can u try the following:

Code: Select all

Get-VBOJob | Select SchedulePolicy, JobBackupType, NextRun, LastRun
U should be able to leverage NextRun & LastRun for the difference.
Personal blog: https://foonet.be
GitHub: https://github.com/nielsengelen
Polina
Veeam Software
Posts: 2972
Liked: 705 times
Joined: Oct 21, 2011 11:22 am
Full Name: Polina Vasileva
Contact:

Re: Get Job schedule policies

Post by Polina »

Tim,

If you have a minute, can you share a link to the documentation with this "get-vbojobschedule" cmdlet? There must be a mistake, as it doesn't exist.
tsanfilipp
Enthusiast
Posts: 31
Liked: 1 time
Joined: Sep 19, 2016 3:49 pm
Full Name: Tim S
Location: Dallas, Texas
Contact:

Re: Get Job schedule policies

Post by tsanfilipp »

I thought I saw it in regards to the job schedule, but maybe I mistook the set for get? That said, I just need to pull a listing of all the existing jobs, with the schedule associated with them. I will test the above script and see if it works for me. Thanks.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 11 guests