VMware Cloud Community
NagsenMeshram
Contributor
Contributor

How to get resource pool statistics via powershell

Hi,

I have few resource pool in a cluster and I would like to get below statistics for each resource pool in that cluster via script.

Resource Pool Name - CPU Reservation (GHz) - CPU Limit (GHz) - Consumed CPU (GHz) - %CPU Consumed - Reservation Memory (GB) - Memory Limit (GB) - Consumed Memory (GB) - %Memory Consumed

Output would look like

RP1 - 100 - 125 - 112 - 88% - 1000 - 3000 - 1500 - 50%

RP2 - 10 - 20 - 15 - 75% - 100 - 200 - 150 - 50%

Thank you in advance for help

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

What do you already have and what is missing?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos