Quantcast
Channel: R&D Forums
Viewing all articles
Browse latest Browse all 9935

PowerShell • Re: How to get last run last endtime for FilestoTape job?

$
0
0
Sure, this one is luckily quite clean. Pass the VBRFiletoTape object returned by Get-VBRTapeJob to Get-VBRJobScheduleOptions; save it to some variable and check the properties with Get-Member, you'll see all the schedule options.

Example showing the Daily schedule options:

Code:

PS C:\Users\david.LAB> Get-VBRJobScheduleOptions -Job $tJob | select OptionsDailyOptionsDaily------------Enabled: True, DayNumberInMonth: SelectedDays, Days: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday

Statistics: Posted by david.domask — Mar 20, 2025 8:40 am



Viewing all articles
Browse latest Browse all 9935

Latest Images

Trending Articles



Latest Images