Examples/Resources/xNetworkTeam/2-RemoveTeam.ps1
<#
.EXAMPLE Removes the NIC Team 'HostTeam' from the interfaces NIC1, NIC2 and NIC3. #> Configuration Example { param ( [Parameter()] [System.String[]] $NodeName = 'localhost' ) Import-DSCResource -ModuleName xNetworking Node $NodeName { xNetworkTeam HostTeam { Name = 'HostTeam' Ensure = 'Absent' TeamMembers = 'NIC1', 'NIC2', 'NIC3' } } } |