Forum Discussion
Apr 20, 2010
The PsPoolMemberControl PowerShell sample in the iControl CodeShare does steps 1 and 2.
http://devcentral.f5.com/wiki/default.aspx/iControl/PsPoolMemberControl.html
Adding a server (pool member) back into a cluster (pool) can be done with the LocalLB.Pool.add_member() method.
http://devcentral.f5.com/wiki/default.aspx/iControl/LocalLB__Pool__add_member.html
You'll likely need to tailor the PsPoolMemberControl script to do all that you need but it should be good to get you started.
Let me know if you need any more pointers.
-Joe