PowerShell module for the F5 LTM REST API
Updated Jun 06, 2023
Version 2.0Was this article helpful?
Another gotcha I found with the commands was capturing the Pool membership statistics. In a comment on this page, someone posted this solution:
Get-Pool -F5Session $F5Session | Select-Object -ExpandProperty fullPath;
The problem I had was determining what "fullPath" was. I wanted to see the number of server connections for a given node. I stumbled onto a solution using
-ExpandProperty *
. A sample:
$PoolConnections = Get-PoolMemberStats -F5Session $F5Session -PoolName $Poolname -Partition $PoolPartition -Address $IPAddress | Select -ExpandProperty * | % { $_.nestedStats.entries.'serverside.curConns'.value }