Forum Discussion
1 Reply
Sort By
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