VMware Cloud Community
MartyG
Contributor
Contributor
Jump to solution

PowerCLI question messages a top Summary Tab

Hi

Is it possible to pull up the messages on top of the summary tab for a host via PowerCLI ?

thanks

0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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

View solution in original post

0 Kudos
2 Replies
LucD
Leadership
Leadership
Jump to solution

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

0 Kudos
MartyG
Contributor
Contributor
Jump to solution

thanks

0 Kudos