Forum Discussion
Adam_Borders_10
Nimbostratus
May 28, 2008iControl and PowerGUI
I am trying to create a PowerPack for PowerGUI. It is a GUI for running Powershell scripts. I have an issue when trying to pull LTMPoolMember from iControl.
I can pull a list from LTMPool and if I select one I can use LTMPoolMember to get a list of members for that pool. I am trying to allow for multiple selections of pools. I want a sigle listing of all of the members from the selected pools. Right now if I select 5 pools I get a list with 5 copies of the last pool selected.
I am using Get-F5.LTMPool to pull the list of pools and this script to try and get the pool members.
$name = $null
$input | ForEach-Object {
if (-not $name) {
$name = $_.name
}
Get-F5.LTMPoolMember -pool $name }
Any help is appreciated.
Thanks,
Adam
- Adam_Borders_10
Nimbostratus
That works great as a script but in PowerGUI all I get is the "True" for the first part of the script. It does not actually list the pools.
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