LucD
Leadership
Leadership

Try like this

Get-VMHost abc | Get-VMHostNetworkAdapter | where { $_.PortGroupName -eq "1234-abc-VMKernel" } | 
Set-VMHostNetworkAdapter -ManagementTrafficEnabled:$false


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos