-
Notifications
You must be signed in to change notification settings - Fork 11
Testing the Network Card Member count on LBFO Team #11
Copy link
Copy link
Open
Description
Hi,
The script should point to the TeamNicName when evaluating and working with the Networkcard members on the LBFO Team and not the TeamName itself.
When the LBFO Team was created with a different Team Nic Name as the Team Name itself, like
New-NetLbfoTeam -Name "Team2" -TeamNicName "Team2Nic" -TeamMembers "NIC1","NIC2"
then the script break like:
[-] CONTOSO-HVH02: LBFO Team [LBFOTeam1] must be attached to a vSwitch 222ms Expected 'LBFOTeam1', but got $null. 44: $netAdapter.Name | Should be $LBFOTeam at <ScriptBlock>, C:\Program Files\WindowsPowerShell\Modules\Convert-LBFO2SET\2020.2.2.5\tests\unit\unit.tests.ps1: line 44
Instead to use the .Name Property on the LBFO Team use the .TeamNics Property
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels