Adding VM to Job - Objects in Job Don't Update

PowerShell script exchange

Adding VM to Job - Objects in Job Don't Update

Veeam Logoby twesterd » Sun May 28, 2017 4:48 am

I am essentially running this PowerShell script:
Code: Select all
$job = Get-VBRJob -Name "Backup Job Name"
$Vm = Find-VBRViEntity -Name "VMName"
Add-VBRViJobObject -Job $job -Entities $Vm


The code runs fine and the VM is added to the job... but... when I look at the GUI in Veeam, the number of objects in the job doesn't update for some time... minutes (granted, server was busy at the time). Also, the Total Size value doesn't update ever unless I edit the job and manually hit recalculate.

Is this normal?
twesterd
Influencer
 
Posts: 17
Liked: never
Joined: Wed May 17, 2017 7:38 pm
Full Name: Trevor W

Re: Adding VM to Job - Objects in Job Don't Update

Veeam Logoby v.Eremin » Wed May 31, 2017 11:06 am

Correct, Total Size doesn't get recalculated automatically, when you add a new object to a job via PowerShell. As to objects' update taking some time, busy SQL might have been a reason for that. Thanks.
v.Eremin
Veeam Software
 
Posts: 13734
Liked: 1027 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 1 guest