PowerShell script exchange
Post Reply
dwil49
Influencer
Posts: 14
Liked: never
Joined: Aug 14, 2009 12:21 pm
Full Name: David Willoughby
Contact:

Job progress

Post by dwil49 »

Is there a Veeam Powershell command that would return to me the percentage of completion of a currently running backup job? I know I can query just to see if a job is running, but that doesn't give me the progress. Occasionally we have a job that for whatever reason will get stuck at 0% for hours. If I start my backup at 10:00 PM and it's still sitting at 0% 2 hours later, I want to know.
tdewin
Veeam Software
Posts: 1818
Liked: 655 times
Joined: Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin
Contact:

Re: Job progress

Post by tdewin »

There you go:

Code: Select all

$job = get-vbrjob -name "Backup Job AD"
$job.FindLastSession().BaseProgress
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests