New PS Module for working with F5's LTM REST API

If you use F5's BIG‑IP Local Traffic Manager (LTM) for load-balancing, then you may find the new PS module I've written helpful. The module uses the REST API in ver. 11.6 of the LTM to query and manipulate an F5 LTM device. You can add and remove members from a pool, enable and disable them, and find out what pools a member is in, among other things.

I've made the module files available here. I welcome all comments.

A few notes: Since the module uses the Invoke-WebRequest cmdlet, PowerShell 3 or higher is required. Also, since some F5's utilize self-signed certificates, and Invoke-WebRequest is unhappy if part of the certificate chain isn't trusted, I've included a dependency on Jaykul's PS module TunableSSLValidator, which allows for temporarily ignoring certificate errors. If you're using a trusted certificate chain, then you don't need the TunableSSLValidator module and can remove the -insecure flags from the Invoke-WebRequest calls.

Cheers,
Joel

One Comment

  1. Nice! Looking forward to checking this out tomorrow.

    I've actually been working on the same thing. Looks like yours covers Pool members, which is perfect for me, since I had just finished up with commands for manipulating Nodes.