VMware Cloud Community
Biyouk
Contributor
Contributor

PowerCLI script with Resource Pool values

Hi Everyone

I'm starting to create some script in PowerCLI, I would like to update automatically the shared value of CPU and memory of each resource pool I have in my VCenter.

I need to know the vlaue of the CPUshard and MemShares and I don't know how to get the value.

I put some print screen if it's not clear. Hoe I can extract the value of the custom shared of CPU and Memory

Thanks for your help.

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

Did you already try the Get-ResourcePool cmdlet ?


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

Reply
0 Kudos