Forum Discussion
Dustin_132959
Nimbostratus
Jul 10, 2015LTM 11.4.1 iControl Snapin Firewall Rules
I have been following the iControl documentation for pulling firewall rule information out of our LTM using PowerShell and the iControl Snapin. It works for most of the properties I am trying to que...
Dustin_132959
Nimbostratus
Jul 13, 2015For some reason, the code didn't format correctly and I can't edit it. Here is an example of the code:
$virtualservers = (Get-F5.LTMVirtualServer).name
foreach ($virtualserver in $virtualservers)
{
$firewallrules = ($ic.LocalLBVirtualServer.get_fw_rule($virtualserver))[0]
foreach ($firewallrule in $firewallrules)
{
$sourceport = $ic.LocalLBVirtualServer.get_fw_rule_source_port($virtualserver,$firewallrule)
}
}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