Hi,
How to retrieve the current host standard deviation value and the status(loadbalanced for example) from the cluster using powercli?
Try something like this
Get-Cluster |
Select Name,
@{N='Current StdDev';E={$_.ExtensionData.Summary.CurrentBalance/1000}},
@{N='Load';E={
if($_.ExtensionData.Summary.CurrentBalance -lt $_.ExtensionData.Summary.TargetBalance){
'Balanced'
}
else{
'Unbalanced'
}
}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Try something like this
Get-Cluster |
Select Name,
@{N='Current StdDev';E={$_.ExtensionData.Summary.CurrentBalance/1000}},
@{N='Load';E={
if($_.ExtensionData.Summary.CurrentBalance -lt $_.ExtensionData.Summary.TargetBalance){
'Balanced'
}
else{
'Unbalanced'
}
}}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thank Luc, works good.
Actually i went in to extensiondata before posting this question, i had a look into configuration, configurationex and had a inside look into drsconfig, drsvmconfig but ignored summary section, never imagined it would be there ![]()
