spencero_196690
Nov 12, 2016Nimbostratus
How can I create member with name using powershell cmdlet?
How can you create pool members with descriptive names?
When I create a new vm, I'm able to automatically add it to a pool.
Add-F5.LTMPoolMember -Pool $PoolName -Member "${VMIP}:${Port}"
However the name of the node is its ip address.
I've also tried using the more low level way of adding a node
$PoolList = @($PoolName)
$Node = New-Object -TypeName iControl.CommonAddressPort;
$Node.address = $VMIP
$Node.port = $Port
(Get-F5.iControl).LocalLBPool.add_member_v2($PoolList, $Node)
I can't find any way to change the node name with
add_member_v2