Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168455

VDS Health Check Status on Get-VMHost Object/Network Object

$
0
0

I am trying to find an object property that shows the results of the VDS health check for VLANs.

've managed to configure the VDS health check for VlanMtu through PowerCLI but I need a scripted way to determine if the hosts see the correct VLANs.

 

Here is the API call for VDS health config:

            $Spec = New-Object VMware.Vim.VMwareDVSVlanMtuHealthCheckConfig

            $Spec.Enable = $True

            $Spec.Interval = 1

            $DistributedSwitchView = Get-View $DistributedSwitch

            $OutNull = $DistributedSwitchView.UpdateDVSHealthCheckConfig_Task($Spec)

 

            $Spec = New-Object VMware.Vim.VMwareDVSTeamingHealthCheckConfig

            $Spec.Enable = $False

            $Spec.Interval = 1

            $DistributedSwitchView = Get-View $DistributedSwitch

            $OutNull = $DistributedSwitchView.UpdateDVSHealthCheckConfig_Task($Spec)


Viewing all articles
Browse latest Browse all 168455

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>