DSCResources/DSC_NetworkTeamInterface/en-US/about_NetworkTeamInterface.help.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
.NAME
NetworkTeamInterface .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 VLAN ID 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. Defaults to 'Present'. .EXAMPLE 1 Add New Network Team Interface. Configuration NetworkTeamInterface_AddInterface_Config { Import-DSCResource -ModuleName NetworkingDsc Node localhost { NetworkTeam HostTeam { Name = 'HostTeam' TeamingMode = 'SwitchIndependent' LoadBalancingAlgorithm = 'HyperVPort' TeamMembers = 'NIC1','NIC2' Ensure = 'Present' } NetworkTeamInterface NewInterface { Name = 'NewInterface' TeamName = 'HostTeam' VlanID = 100 Ensure = 'Present' DependsOn = '[NetworkTeam]HostTeam' } } } .EXAMPLE 2 Remove a Network Team Interface. Configuration NetworkTeamInterface_RemoveInterface_Config { Import-DSCResource -ModuleName NetworkingDsc Node localhost { NetworkTeam HostTeam { Name = 'HostTeam' TeamingMode = 'SwitchIndependent' LoadBalancingAlgorithm = 'HyperVPort' TeamMembers = 'NIC1','NIC2' Ensure = 'Present' } NetworkTeamInterface NewInterface { Name = 'NewInterface' TeamName = 'HostTeam' Ensure = 'Absent' DependsOn = '[NetworkTeam]HostTeam' } } } |