Forum Discussion
ecriniere_13429
Nimbostratus
Sep 24, 2013Reporting on F5 using Powershell iControl F5 cmdlets
How do I report on additional attributes for a virtual server, pool, and/or node? If I use get-f5.ltmVirtualServer I can only get the Name and Status. I would like to retrieve the assigned IP and t...
Sep 25, 2013
The cmdlets were originally written as a few set of use cases around the APIs. But, there's a special cmdlet (Get-F5.iControl) which returns an object containing all of the core iControl API objects. You can then get at the various iControl methods from those internal objects. So, for instance, if you want to get at the VirtualServer get_list() method, you can do something like this
(Get-F5.iControl).LocalLBVirtualServer.get_list();
You should be able to get at all the other virtual server attributes by going into the core APIs. The documentation is in the iControl wiki.
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