However, when making report with Powershell I seem to only get the Backup info.
This is how I do it today:
Code: Select all
$CloudTenants = Get-VBRCloudTenant
foreach ($ct in $CloudTenants)
{
foreach ($r in $ct.Resources)
{
New-Object psobject -Property @{
User = $ct.Name
'VM Count' = $ct.VMCount
'Repository Name' = $r.RepositoryFriendlyName
'Total Quota' = NumberFormat -Number $r.RepositoryQuota
'Used Space' = NumberFormat -Number $r.UsedSpace
'Used Space %' = [string]$r.UsedSpacePercentage + " %"
'Free Space' = NumberFormat -Number ($r.RepositoryQuota - $r.UsedSpace)
'Last Active' = $ct.LastActive
'Last Result' = $ct.LastResult
'24hrs Activity' = (Get-Date $ct.LastActive) -gt (Get-Date).AddDays(-1)
}
}
}