You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details of the scenario you tried and the problem that is occurring:
When Get-TargetResource evaluate an existing network team, the returned value for TeamMembers is the same value as assigned in the configuration.
Details of the scenario you tried and the problem that is occurring:
When
Get-TargetResource
evaluate an existing network team, the returned value forTeamMembers
is the same value as assigned in the configuration.https://github.com/PowerShell/NetworkingDsc/blob/9916993c1a3440aa9c0eb0dadce99cf0b4e74d38/Modules/NetworkingDsc/DSCResources/MSFT_NetworkTeam/MSFT_NetworkTeam.psm1#L46
But here the current team members are evaluated.
https://github.com/PowerShell/NetworkingDsc/blob/9916993c1a3440aa9c0eb0dadce99cf0b4e74d38/Modules/NetworkingDsc/DSCResources/MSFT_NetworkTeam/MSFT_NetworkTeam.psm1#L59-L67
Shouldn't we return the actual team members in the property
TeamMembers
when the network team exist (or@()
if there are no team members yet) ?The DSC configuration that is using the resource (as detailed as possible):
Version of the Operating System and PowerShell the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
The text was updated successfully, but these errors were encountered: