Problem this snippet solves: To report an issue with the F5-LTM or F5-BIGIP modules, please use the Issues sections of the GitHub repos (here and here) instead of commenting here. Thanks!
This Pow...
Hi, it looks like you're close. When you call:
New-F5session -LTMName $host_address -LTMCredentials $mycreds -PassThrough
you should see your session object written out to the console if you successfully connect. -PassThrough is really only needed if you're going to capture the session in a variable and then pass it to a function. You could try:
$F5Session = New-F5session -LTMName $host_address -LTMCredentials $mycreds -PassThrough;
Get-Pool -F5Session $F5Session | Select-Object -ExpandProperty fullPath;
Let me know if this helps. Thanks.