Hi
Is it possible to pull up the messages on top of the summary tab for a host via PowerCLI ?
thanks
Sure, try this
foreach($esx in (Get-VMHost | where {$_.Extensiondata.ConfigIssue})){
foreach($issue in $esx.Extensiondata.ConfigIssue){
select -InputObject $issue @{N="Name";E={$esx.Name}},FullFormattedMessage
}
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Sure, try this
foreach($esx in (Get-VMHost | where {$_.Extensiondata.ConfigIssue})){
foreach($issue in $esx.Extensiondata.ConfigIssue){
select -InputObject $issue @{N="Name";E={$esx.Name}},FullFormattedMessage
}
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
thanks