Forum Discussion
wallst32_178793
Nimbostratus
May 08, 2015How do you call Get-F5.iControl multiple times in PowerShell?
I just started using iControl with PowerShell and haven't had any issues performing a single common task (for example retrieving the list of iRules). But now I'm trying to write some more functional ...
May 09, 2015
This worked:
For($x=0;$x -lt $irules.Count;$x++){
$irules[$x].rule_name
$irules[$x].rule_definition
}
Also, if you put them in a file you get the data in the variable as well:
$members | Out-File .\test.txt
$irules | Out-File -Append .\test.txt
Very very very annoying. 🙂
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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