Hello!
We are service providers and the end of every month we need to calculate disk space usage and protected VMs for each tenant.
In tenant each backup job name I added prefix - customer company name, for example, CustomerABC_FileServer, CustomerABC_Exchange, CustomerDEF_MSSQL, CustomerDEF_DNS etc.
In Veeam forum I fond following PowerShell Script:
asnp VeeamPSSnapin Get-VBRBackup | Select @{N="Job Name";E={$_.Name}}, @{N="Size (GB)";E={[math]::Round(($_.GetAllStorages().Stats.BackupSize | Measure-Object -Sum).Sum/1GB,1)}} | Format-Table -AutoSiz | Out-File E:\Scripts\report.txt
Can you please help me with powershell script which can calculate total disksapce usage and total protected VMs for each tenant?
Report example which we need:
Job Name Size (GB) Server
-------- --------- --------
CustomerABC_FileServer 200 1
CustomerABC_Exchange 400 1
--------------------------------------------------------------------
600 2
CustomerDEF_MSSQL 100 1
CustomerDEF_DNS 20 1
-------------------------------------------------------------------
120 2
-
- Influencer
- Posts: 17
- Liked: 2 times
- Joined: Nov 16, 2014 3:11 pm
- Contact:
-
- Influencer
- Posts: 17
- Liked: 2 times
- Joined: Nov 16, 2014 3:11 pm
- Contact:
Re: Monthly report of tenants disk usage and protected VMs
Also, I would be very happy if there were such scripts for CloudConnect...
Thnak you!
Thnak you!
Who is online
Users browsing this forum: No registered users and 5 guests