We are looking to enable Scalable Shares on our Ressource Pools.
Since we have many big environments, we are looking to do that via a PowerCLI script.
Is it possible to enable Scalable Shares via PowerCLI?
The option scaleDescendantsShares exists in the mob on the cluster ressource object and has the value "scaleCpuAndMemoryShares", when Clusterwide Scalable Shares are enabled. Is it possible to set these options directly via PowerCLI?
Not via a cmdlet in the current PowerCLI version afaik.
But you can use the API method ReconfigureComputeResource
Btw, scaleCpuAndMemoryShares and disabled are the only possible values in the ResourceConfigSpecScaleSharesBehavior enum.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference