Creating Broadcom teams automatically

Here’s a small script that automatically creates network teams with Broadcom nics. Once Windows 8 Server rolls around this won’t be needed since the teaming functionality (probably) moves into OS level. But for now… The script requires you to install the Broadcom utilities (or let the script do that for you) and supports three different types of teams. It’s meant to be used for example when deploying Windows Server with SCCM or MDT (or Altiris for that matter).

Heavily commented for your change-of-code-pleasures.