Working with members in partitions
I am new to F5 LTM and working with the PS commandlets and iControl. However, there seems to be some inconsistancies in the commands. First off, we are on LTM 11.2 and it seems some of the commands found in the example scripts and documentation on the site have been depricated since 11.0. That didn't help. I've been trying to come up with a consistant way to script disabling and enabling a pool member with PowerShell. The commandlets seems to work fine with pools in the /Common partition but run into trouble with pools in partitions. This is exasterbated by the fact that the iApp creates a seperate partition for each Application Service. Here's what I've run into.
The command "get-f5.ltmpoolmember -pool /Common/lbtest.app/lbtest_pool" returns nothing since,presumably, it is in sub partition. I have to use "(Get-F5.iControl).LocalLBPool.get_member("/Common/lbtest.app/lbtest_pool")"
Am I missing something or is this the expected behavior?
Also, if I run "Get-F5.ltmpool", it only shows me the pools directly in the /Common parition, and nothing in sub folders.