PowerShell script exchange
Post Reply
mgc
Lurker
Posts: 2
Liked: never
Joined: Nov 02, 2021 1:17 pm
Contact:

How to get accurate tenant info?

Post by mgc »

In the Veeam Backup and Replication console under Cloud Connect, I can see Tenants information.
This information includes a "Backup Count" property and for one of our tenants this value is 88.
When I'm trying to get the same information the closest equivalent PS command seems to be "Get-VBRCloudTenant" but none of the properties reflect the same value seen in the GUI.
All of the Count properties have 0, except RentalVMBackupCount which has 75.
I'm guessing the GUI adds up all of the count properties + something else, but I don't know what that would be.
I've seen other similar threads where the solution was to use one of the other properties returned by Get-VBRCloudTenant but I don't see any other values that would get me up to 88.
Mildur
Product Manager
Posts: 9848
Liked: 2607 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: How to get accurate tenant info?

Post by Mildur »

Hi mgc

Can you tell us a little bit more of your goal?
The powershell command gets you the licensed vm count.

RentalVMBackupCount means, that your tenant is using a veeam rental license. Because of that, this vms are not counted toward the value VMBackupCount.
https://helpcenter.veeam.com/docs/backu ... ml?ver=110

The GUI value doesn‘t give you an accurate „license count“ for this tenant. In the GUI, if you have multiple backup job/ backup copy jobs and quotas for a tenant, the vm count for a single vm will be summed up and you will have values which are not equal to the count of existing vms.

https://helpcenter.veeam.com/docs/backu ... ml?ver=110
Product Management Analyst @ Veeam Software
mgc
Lurker
Posts: 2
Liked: never
Joined: Nov 02, 2021 1:17 pm
Contact:

Re: How to get accurate tenant info?

Post by mgc »

I'm a Veeam newbie, the reason I have this task is that I'm good with PowerShell.
I talked to the people requesting the data and they don't actually need the VMCount so I'm just going to skip that.
With that said, I find the response a little odd. How can the GUI be inaccurate? Surely someone at Veeam thought that the VMCount data would be useful for their customer so why should it be so hard to get that data with PowerShell?
oleg.feoktistov
Veeam Software
Posts: 2010
Liked: 670 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: How to get accurate tenant info?

Post by oleg.feoktistov » 1 person likes this post

Hi,

The data in the GUI is not inaccurate. Those are just two different counters. What you see in the UI is a sum of all backups for this tenant, including backups made by different jobs for the same vm. While what you get in RentalVMBackupCount property through powershell is a quantity of instances consumed by a rental license.

Thanks,
Oleg
Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests