Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing the Network Card Member count on LBFO Team #11

Open
githubths opened this issue May 7, 2020 · 0 comments
Open

Testing the Network Card Member count on LBFO Team #11

githubths opened this issue May 7, 2020 · 0 comments

Comments

@githubths
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant