PowerShell script exchange
Post Reply
Markus.K1985
Expert
Posts: 103
Liked: 28 times
Joined: Dec 08, 2014 2:30 pm
Full Name: Markus Kraus
Contact:

CloudConnect Usage / Quotas Report

Post by Markus.K1985 »

HI,

I need to create a scheduled Report like in the GUI:
CloudConnect Infrastructure -> Quotas > Repository > User > Report

I only found this:

Get-VBRCloudTenant | select Name, VMcount, LastActive | ft -AutoSize
Name VMCount LastActive
---- ------- ----------
cc-cust-veeam 0
cc-cust-vnc 6 01.01.1900 00:00


But there is storage Usage included…

Any ideas?
dellock6
VeeaMVP
Posts: 6166
Liked: 1971 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: CloudConnect Usage / Quotas Report

Post by dellock6 »

Hi Markus,
I suggest you request access to the dedicated VCP forums for questions regarding Cloud Connect. Moderators should move this thread there...
One solution for the report is:

Get-VBRCloudTenant | select name , {$_.Resources.usedspace},{$_.Resources.repositoryQUota}
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Vitaliy S.
VP, Product Management
Posts: 27378
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: CloudConnect Usage / Quotas Report

Post by Vitaliy S. »

Hi Markus,

You can use free version of Veeam ONE to get a historical report over Cloud Connect users quotas usage and receive it on the schedule you need > http://helpcenter.veeam.com/one/80/repo ... ports.html

Thanks!
veremin
Product Manager
Posts: 20408
Liked: 2299 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin »

Also, you can assign cloud tenant object to a variable, and explore its properties and methods, using Get-Member. Then, select only required properties with the use of select commandlet.Thanks.
acasanovanex
Influencer
Posts: 12
Liked: 1 time
Joined: Apr 20, 2012 8:33 am
Contact:

Re: CloudConnect Usage / Quotas Report

Post by acasanovanex »

Since Cloud Connect is licensed by "Active" VM, is there a way to get the total active VMs used globally or by each tenant through a PowerShell or commandline script?
I understand using the extract utility isn't an option since vbk files could be encrypted by the tenant job configuration.
veremin
Product Manager
Posts: 20408
Liked: 2299 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin »

Information about each tenant:

Code: Select all

Get-VBRCloudTenant | select Name, VMCount
Global count:

Code: Select all

Foreach ($Tenant in Get-VBRCloudTenant)
{
$VMCount = $Tenant.VMcount + $VMCount
}
$VMCount
By the way, can you tell why the daily report that contains all this information doesn't work for you?

Thanks.
acasanovanex
Influencer
Posts: 12
Liked: 1 time
Joined: Apr 20, 2012 8:33 am
Contact:

Re: CloudConnect Usage / Quotas Report

Post by acasanovanex »

Thank you very much. I completely overlooked this property of the CloudTenant object.

At this moment we are performing tests in our lab environment (no e-mail settings established), however I haven't seen anything about daily reports in cloud connect documentation.
veremin
Product Manager
Posts: 20408
Liked: 2299 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin »

Once you enable e-mail notification, you start to receive a daily CC report containing the exact information you're looking for.

If you're willing to continue discussion about CC SP functionality, please, request an access to VCP forum and ask your questions there.

Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests