en-US/about_xNetworkTeamInterface.help.txt

.NAME
    xNetworkTeamInterface
 
# Description
     
    This resource is used to add network interfaces to a network team.
     
.PARAMETER Name
    Key - String
    Specifies the name of the network team interface to create.
 
.PARAMETER TeamName
    Required - String
    Specifies the name of the network team on which this particular interface should exist.
 
.PARAMETER VlanID
    Write - Uint32
    Specifies VlanID to be set on network team interface.
 
.PARAMETER Ensure
    Write - String
    Allowed values: Present, Absent
    Specifies if the network team interface should be created or deleted.
 
 
    .EXAMPLE
    Add New Network Team Interface
 
Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )
 
    Import-DSCResource -ModuleName xNetworking
 
    Node $NodeName
    {
        xNetworkTeam HostTeam
        {
            Name = 'HostTeam'
            TeamingMode = 'SwitchIndependent'
            LoadBalancingAlgorithm = 'HyperVPort'
            TeamMembers = 'NIC1','NIC2'
            Ensure = 'Present'
        }
         
        xNetworkTeamInterface NewInterface
        {
            Name = 'NewInterface'
            TeamName = 'HostTeam'
            VlanID = 100
            Ensure = 'Present'
            DependsOn = '[xNetworkTeam]HostTeam'
        }
    }
}
 
 
    .EXAMPLE
    Remove a Network Team Interface
 
Configuration Example
{
    param
    (
        [Parameter()]
        [System.String[]]
        $NodeName = 'localhost'
    )
 
    Import-DSCResource -ModuleName xNetworking
 
    Node $NodeName
    {
        xNetworkTeam HostTeam
        {
          Name = 'HostTeam'
          TeamingMode = 'SwitchIndependent'
          LoadBalancingAlgorithm = 'HyperVPort'
          TeamMembers = 'NIC1','NIC2'
          Ensure = 'Present'
        }
         
        xNetworkTeamInterface NewInterface
        {
            Name = 'NewInterface'
            TeamName = 'HostTeam'
            Ensure = 'Absent'
            DependsOn = '[xNetworkTeam]HostTeam'
        }
    }
}