Forum Discussion
spencero_196690
Nimbostratus
Nov 12, 2016How 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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects