This collection of PowerShell scripts can be used to retrieve Veeam backup usage for VMware Cloud Director (VCD) backup jobs and is now available on VeeamHub! Below is a brief description of its functionality. For more detailed information, please follow the VeeamHub link.
In this collection, you’ll find 3 scripts:
- Sync-VcdOrganizationMapping.ps1: Automated mapping of a VCD Organization Veeam Service Provider Console (VSPC) Company
- Set-HostedVbrJobAssignment.ps1: Assigns VCD backup jobs to a VSPC Company
- Get-VspcHostedUsage.ps1: Generates usage report
In the usage report, the following is provided for each VSPC Company:
- Total number of protected VMs in backups
- Total number of licensed VMs in backups
- Licensed matches Veeam rental licensing policy which is workloads protected within the current calendar month
- Total amount of space used in backups
- (Optional) Detailed usage at the VM-level
NOTE: This collection uses functionality added in Veeam Backup & Replication v12.1 and Veeam Service Provider Console v8.
https://github.com/VeeamHub/powershell/tree/master/VSPC-HostedUsage