I'm not very good with PowerShell so apologies in advance.
I'm trying to get a script to show the job name, description, # objects and the total backup size. This is just for VBR not cloud connect as I found cloud connect a lot easier to extract this information.
I need the description field as that contains some values we will use for billing.
I can get the 1st 3 items from get-vbrjob but cannot for the life of me work out how to then get the backup size added.
$job = Get-VBRJob
foreach($job in Get-VBRJob) { Write-Host "Client:", $job.Description, $job.Name; $job.GetObjectsInJob() | foreach { $_.Location } }
Any help for an old man

Mark