Get-VMHost | Sort | Select Name,@{ N=”CurrentPolicy”; E={$_.ExtensionData.config.PowerSystemInfo.CurrentPolicy.ShortName}},@{ N=”CurrentPolicyKey”; E={$_.ExtensionData.config.PowerSystemInfo.CurrentPolicy.Key}},@{ N=”AvailablePolicies”; E={$_.ExtensionData.config.PowerSystemCapability.AvailablePolicy.ShortName}}
source MKguy : https://communities.vmware.com/thread/461039
Partager la publication "ESXi powerstate policy"