Job progress

PowerShell script exchange

Job progress

Veeam Logoby dwil49 » Wed Mar 08, 2017 1:52 pm

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.
dwil49
Influencer
 
Posts: 14
Liked: never
Joined: Fri Aug 14, 2009 12:21 pm
Full Name: David Willoughby

Re: Job progress

Veeam Logoby tdewin » Wed Mar 08, 2017 1:57 pm

There you go:
Code: Select all
$job = get-vbrjob -name "Backup Job AD"
$job.FindLastSession().BaseProgress
tdewin
Veeam Software
 
Posts: 1091
Liked: 380 times
Joined: Fri Mar 02, 2012 1:40 pm
Full Name: Timothy Dewin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 25 guests