dsc/ext/PsGallery/xNetworking.3.2.0.0/Examples/Resources/xNetworkTeam/1-AddNetworkTeam.ps1

<#
    .EXAMPLE
    Creates the Host Team with the NIC1 and NIC1 Interfaces
#>

configuration Example
{
    param
    (
        [string[]]$NodeName = 'localhost'
    )

    Import-DSCResource -ModuleName xNetworking

    Node $NodeName
    {
        xNetworkTeam HostTeam
        {
            Name = 'HostTeam'
            TeamingMode = 'SwitchIndependent'
            LoadBalancingAlgorithm = 'HyperVPort'
            TeamMembers = 'NIC1','NIC2'
            Ensure = 'Present'
        }
    }
 }