VMware Cloud Community
DavidPeyton
Contributor
Contributor

PowerCLI Host Property MaxEVCMode is not present

Not sure if this is due to the fact that EVC mode on this cluster is not enabled but when we run Get-VMHost <VMHostName> | Get-Member there is not a 'MaxEVCMode' Property. DO I need to look somewhere else for this?

Thanks!

Tags (3)
Reply
0 Kudos
1 Reply
jdmueller
Contributor
Contributor

Hi David,

Have you found an answer to this question yet? I have the same issue, even when I have EVC enabled.

UPDATE: I figured it out. You need to specify " | Get-View" and not just "Get-VMHost", like so:

$vmHost = Get-VMHost "Host-Name-Here.example.com" | Get-View

$vmHost.Summary.CurrentEVCModeKey
$vmHost.Summary.MaxEVCModeKey

It also works for clusters:

$cluster = Get-Cluster "Cluster Name" | Get-View

$cluster.Summary.CurrentEVCModeKey

Message was edited by: jdmueller

Reply
0 Kudos