List Proxy wait time for a job

PowerShell script exchange

List Proxy wait time for a job

Veeam Logoby Balaji Desikachari » Fri Jun 20, 2014 1:01 am

Is there a way to get all the VMs from the jobs which wait for backup infrastructure availability and its duration of wait?
There are many replication jobs and many VMs in a job and I would need to analyze the wait time of all the VMs for backup infrastructure (proxy) availability.

Any help is much appriciated.

Thanks!
Balaji Desikachari
Novice
 
Posts: 3
Liked: never
Joined: Sat Jun 14, 2014 5:09 pm
Full Name: Balaji Desikachari

Re: List Proxy wait time for a job

Veeam Logoby v.Eremin » Fri Jun 20, 2014 9:39 am

You can get the VM pending session and the time the session has been queued via the following commandlet:

Code: Select all
$Job = Get-VBRJob -Name "Name of backup job"
$LastSession = $Job.FindLastSession()
$LastSession.GetTaskSessions() | where {$_.status -eq "Pending"} |Select name, {$_.Info.QueuedTime}


Thanks.
v.Eremin
Veeam Software
 
Posts: 13291
Liked: 973 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 4 guests