Forum Discussion
wrapsbear_30752
Nimbostratus
Apr 10, 2017iControl Get-F5.LTMPool fails to return any pools that are part of an iApp
All of my pools are part of an iApp I can authenticate using Initialize-iControl and I can verify that other functions are working, but Get- doesn't return any pool members.
Make absolutely no a...
Apr 18, 2017
By default the Get- CmdLet will return pools listed in the /Common partition. To retrieve objects located in other partitions/locations, you'll need to use the System.Session commands to change folders or enable recursive query state to query all folders below the current. iApp's store their objects in their own folders so you might want to just do something like this
$ic = Get-F5.iControl
$ic.SystemSession.set_active_folder("/");
$ic.SystemSession.set_recursive_query_state("STATE_ENABLED");
Get-F5.LTMPool
or by using the core iControl assembly
$ic.LocalLBPool.get_list();
To be able to navigate the folder hierarchy, I wrote an article on the topic a while back at iControl 101 - 24 - Folders.
Hope this helps...
-Joe
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