PowerShell script exchange
Post Reply
sturmtr
Service Provider
Posts: 11
Liked: never
Joined: Jul 25, 2022 10:30 am
Contact:

Powershell Output is Wrong?

Post by sturmtr »

$job=Get-VBRJob -Name "23660331_Tic1BusinessApp.V2"
$job.ScheduleOptions.NextRun is empty

But when I check console;

23660331_Tic1BusinessApp.V2 Cloud Director Backup 1 Stopped 10 hours ago Success 2.03.2024 05:15

This problem started today, any idea how to fix this without Veeam service restart?
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Powershell Output is Wrong?

Post by oleg.feoktistov »

Hi,

Please use dedicated cmdlet Get-VBRJobScheduleOptions to get NextRun value (and other job schedule values):

Code: Select all

$job = Get-VBRJob -Name "Backup Job 1"
Get-VBRJobScheduleOptions -Job $job
Best regards,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests