Hi,
I am trying to make a NIC team using a powershell script with the cmdlet New-NetLbfoTeam on a Physical Windows Server 2012 Server Core.
When i execute the command PS C:\> New-NetLbfoTeam -Name Public -TeamMembers "Public 1", "Public 2" i get the result i want in the output below.
Confirm
Are you sure you want to perform this action?
Creates Team:'Public' with TeamMembers:{'Public 1', 'Public 2'},
TeamNicName:'Public', TeamingMode:'SwitchIndependent' and
LoadBalancingAlgorithm:'TransportPorts'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
When i put the same New-NetLbfoTeam line in a powershell script and execute it i get awrong TeamNicName (see output blow)
Confirm
Are you sure you want to perform this action?
Creates Team:'â?Name Public â?TeamMembers' with TeamMembers:{'Public 1','Public 2'},
TeamNicName:'â?Name Public â?TeamMembers',
TeamingMode:'SwitchIndependent' and LoadBalancingAlgorithm:'TransportPorts'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
Any experience with this issue?
Thanks in advance,
Wout
I am trying to make a NIC team using a powershell script with the cmdlet New-NetLbfoTeam on a Physical Windows Server 2012 Server Core.
When i execute the command PS C:\> New-NetLbfoTeam -Name Public -TeamMembers "Public 1", "Public 2" i get the result i want in the output below.
Confirm
Are you sure you want to perform this action?
Creates Team:'Public' with TeamMembers:{'Public 1', 'Public 2'},
TeamNicName:'Public', TeamingMode:'SwitchIndependent' and
LoadBalancingAlgorithm:'TransportPorts'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
When i put the same New-NetLbfoTeam line in a powershell script and execute it i get awrong TeamNicName (see output blow)
Confirm
Are you sure you want to perform this action?
Creates Team:'â?Name Public â?TeamMembers' with TeamMembers:{'Public 1','Public 2'},
TeamNicName:'â?Name Public â?TeamMembers',
TeamingMode:'SwitchIndependent' and LoadBalancingAlgorithm:'TransportPorts'.
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help
Any experience with this issue?
Thanks in advance,
Wout