VMware Cloud Community
Newsy
Contributor
Contributor

Un-Check Policy Exceptions - Portgroup NIC Teaming esxi 5.0 cmd line

Hello,

I am looking for a way to script a new blade install for our environment.  I am currently stuck at how to un-check the 5 checkboxes listed in the vmkernel portgroup NIC Teaming config, in command line.  By default, they show up as checked, which interferes with our NIC Teaming config on the vswitch.  Is there a way to un-check those boxes in a portgroup (load balancing, Network Failover detection, Notify Switches, Failback, and Override switch failover order) via cmd line?

I have been able to alter those settings on the vswitch and portgroup, but I am unable to figure out how to un-check those 5 boxes.

Thanks!

Nick

Tags (1)
0 Kudos
1 Reply
BenLiebowitz
Expert
Expert

I've never done it, but this cmdlet might work for you.

https://www.vmware.com/support/developer/PowerCLI/PowerCLI41U1/html/Set-NicTeamingPolicy.html

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos