PowerShell script exchange
Post Reply
jasonede
Service Provider
Posts: 66
Liked: 10 times
Joined: Jan 04, 2018 4:51 pm
Contact:

Getting last run / start time of Immediate copy job

Post by jasonede »

I'm trying to find how to pull out information about the new immediate copy jobs (Type : SimpleBackupCopyPolicy). I can find the last result, but most methods I can find to pull out the time don't seem to be changing from the job creation time. Is there something I've missed?

oleg.feoktistov
Veeam Software
Posts: 639
Liked: 223 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Getting last run / start time of Immediate copy job

Post by oleg.feoktistov » 1 person likes this post

Hi @jasonede,

Lack of possible capabilities for immediate copy job objects explained here.
So, more info can be found in worker job objects:

Code: Select all

 $job = Get-VBRJob -Name 'JobName'
 $jobWorkers = $job.GetWorkerJobs()
Thanks,
Oleg

jasonede
Service Provider
Posts: 66
Liked: 10 times
Joined: Jan 04, 2018 4:51 pm
Contact:

Re: Getting last run / start time of Immediate copy job

Post by jasonede »

Fantastic. That was just what I needed.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests