After some research i saw that there is no opportunities to collect Total Snapshot Usage (Exclusive Usage) per Protection Domain through the API (i’m on 5.15.3 AOS).
As i have lot of VMs per PD, how can i collect this info through Nutanix Cmdlets and obtain this one per PD ?
Best answer by JacksonWrath1607
I installed the cmdlets and it is indeed there! Just a bit hidden. It shows up if you add the “-ExpandedOutput” parameter to the “Get-NTNXProtectionDomain” cmdlet. This will give you the number you want in PowerShell:
(Get-NTNXProtectionDomain -PdName <PD_NAME_HERE>).usageStats["dr.exclusive_snapshot_usage_bytes"]