-
Notifications
You must be signed in to change notification settings - Fork 90
WaitForNetworkTeam
dscbot edited this page Apr 14, 2025
·
5 revisions
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
| Name | Key | String | Specifies the name of the network team to wait for. | |
| RetryCount | Write | UInt32 | The number of times to loop the retry interval while waiting for the network team. | |
| RetryIntervalSec | Write | UInt32 | Specifies the number of seconds to wait for the network team to become available. |
The resource is used to wait for a network team to achieve the 'Up' status.
Creates the switch independent Network Team 'HostTeam' using the NIC1 and NIC2 interfaces. It sets the load balacing algorithm to 'HyperVPort'. The config will then wait for the 'HostTeam' to achieve the 'Up' status.
Configuration WaitForNetworkTeam_AddNetworkTeam_Config
{
Import-DSCResource -ModuleName NetworkingDsc
Node localhost
{
NetworkTeam AddNetworkTeam
{
Name = 'HostTeam'
TeamingMode = 'SwitchIndependent'
LoadBalancingAlgorithm = 'HyperVPort'
TeamMembers = 'NIC1', 'NIC2'
Ensure = 'Present'
}
WaitForNetworkTeam WaitForHostTeam
{
Name = 'HostTeam'
DependsOn = '[NetworkTeam]AddNetworkTeam'
}
}
}- DefaultGatewayAddress
- DnsClientGlobalSetting
- DnsClientNrptGlobal
- DnsClientNrptRule
- 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