-
Notifications
You must be signed in to change notification settings - Fork 88
NetworkTeamInterface
dscbot edited this page Jun 7, 2024
·
6 revisions
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
Name | Key | String | Specifies the name of the network team interface to create. | |
TeamName | Required | String | Specifies the name of the network team on which this particular interface should exist. | |
VlanId | Write | UInt32 | Specifies VLAN ID to be set on network team interface. | |
Ensure | Write | String | Specifies if the network team interface should be created or deleted. Defaults to 'Present'. |
Present , Absent
|
This resource is used to add network interfaces to a network team.
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'
}
}
}
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'
}
}
}
- DefaultGatewayAddress
- DnsClientGlobalSetting
- DnsConnectionSuffix
- DnsServerAddress
- Firewall
- FirewallProfile
- HostsFile
- IPAddress
- IPAddressOption
- NetAdapterAdvancedProperty
- NetAdapterBinding
- NetAdapterLso
- NetAdapterName
- NetAdapterRdma
- NetAdapterRsc
- NetAdapterRss
- NetAdapterState
- NetBios
- NetConnectionProfile
- NetIPInterface
- NetworkTeam
- NetworkTeamInterface
- ProxySettings
- Route
- WaitForNetworkTeam
- WinsServerAddress
- WinsSetting