I have another question :
I would like to have the list of all the jobs launched since 1 days
Thanks
best regards
-
- Lurker
- Posts: 0
- Liked: never
- Joined: Aug 07, 2012 6:37 am
- Full Name: EPSMAL
- Contact:
-
- Product Manager
- Posts: 20415
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Daily job list
Assuming I’ve understood you correctly, the following script might answer your requirements:
This script outputs in chronological order the name of the jobs that will be executed during the current day and also the time when these jobs will be run.
Furthermore, this output can be easily redirected to text-file, etc.
Hope this helps.
Thanks.
Code: Select all
Asnp VeeamPSSnapin
function Set-Culture([System.Globalization.CultureInfo] $culture)
{
[System.Threading.Thread]::CurrentThread.CurrentUICulture = $culture
[System.Threading.Thread]::CurrentThread.CurrentCulture = $culture
}
Set-Culture "en-US"
Get-VBRJob | ?{($_.ScheduleOptions.NextRun | Get-Date -Format "dd.MM.yyyy") -eq (Get-Date -Format "dd.MM.yyyy")} | Sort-Object {$_.ScheduleOptions.NextRun} | Select {$_.ScheduleOptions.NextRun}, name
Furthermore, this output can be easily redirected to text-file, etc.
Hope this helps.
Thanks.
Who is online
Users browsing this forum: No registered users and 14 guests