PowerShell script exchange
Post Reply
Markus.K1985
Veeam Vanguard
Posts: 78
Liked: 21 times
Joined: Dec 08, 2014 2:30 pm
Full Name: Markus Kraus
Contact:

CloudConnect Usage / Quotas Report

Post by Markus.K1985 » Dec 12, 2014 11:37 am

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
Veeam Software
Posts: 5787
Liked: 1655 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 » Dec 12, 2014 9:35 pm

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 -> 2019
Veeam VMCE #1

Vitaliy S.
Product Manager
Posts: 23183
Liked: 1602 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: CloudConnect Usage / Quotas Report

Post by Vitaliy S. » Dec 13, 2014 6:33 pm

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: 17047
Liked: 1470 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin » Dec 14, 2014 2:00 pm

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 » Jan 26, 2015 9:43 am

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: 17047
Liked: 1470 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin » Jan 26, 2015 9:57 am

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 » Jan 26, 2015 10:17 am

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: 17047
Liked: 1470 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: CloudConnect Usage / Quotas Report

Post by veremin » Jan 26, 2015 10:40 am

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: Majestic-12 [Bot] and 1 guest