# Add Pool Members in Batch

**URL:** <https://community.f5.com/t/add-pool-members-in-batch/14987>\
**Category:** Technical Forums\
**Tags:** big-ip-dns\
**Created:** [May 1, 2015, 7:05pm UTC](https://community.f5.com/t/add-pool-members-in-batch/14987 "2015-05-01T19:05:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dustinbrooks\_25](https://avatars.discourse-cdn.com/v4/letter/d/6f9a4e/32.png) [@dustinbrooks\_25](https://community.f5.com/u/dustinbrooks_25)\
**Post date:** [May 1, 2015, 7:05pm UTC](https://community.f5.com/t/add-pool-members-in-batch/14987/1 "2015-05-01T19:05:18Z")

</div>

We are adding tons of new servers to our pool and we have 2 different F5 appliances, so I’m looking for an easier way to add a bunch of new members to existing pools.

I haven’t done any F5 scripting or anything, so I’m coming at this as a complete noob.

Any help getting me in the right direction would be awesome.

---

<div class="post-metadata">

**Author:** ![kunjan](https://avatars.discourse-cdn.com/v4/letter/k/54ee81/32.png) [@kunjan](https://community.f5.com/u/kunjan)\
**Post date:** [May 1, 2015, 8:07pm UTC](https://community.f5.com/t/add-pool-members-in-batch/14987/2 "2015-05-01T20:07:42Z")

</div>

You can try cli

eg:pool name myPool and node 10.10.10.10 and port 80

```tcl
tmsh modify ltm pool myPool members add { 10.10.10.10:80 { address 10.10.10.10}}

```

Should be able to create a shell script based on this.

---

<div class="post-metadata">

**Author:** ![DevBabu](https://avatars.discourse-cdn.com/v4/letter/d/278dde/32.png) [@DevBabu](https://community.f5.com/u/DevBabu)\
**Post date:** [May 1, 2015, 8:20pm UTC](https://community.f5.com/t/add-pool-members-in-batch/14987/3 "2015-05-01T20:20:56Z")

</div>

please read the below article and see if that helps. You need to modify scricpt as per your requirement.

> **[DevCentral - An F5 Technical Community](https://community.f5.com/?sid=305)**
>
> DevCentral is an online technical community where engineers and practitioners collaborate, share knowledge, and solve problems related to F5 technologies and industry trends.

---

<div class="post-metadata">

**Author:** ![KT\_271103](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@KT\_271103](https://community.f5.com/u/KT_271103)\
**Post date:** [July 21, 2016, 7:55am UTC](https://community.f5.com/t/add-pool-members-in-batch/14987/4 "2016-07-21T07:55:47Z")

</div>

As per given URL [DevCentral - An F5 Technical Community](https://devcentral.f5.com/codeshare?sid=305), how to execute the code with new server IP’s?
