ASM Policy Report
Problem this snippet solves: PowerShell script using F5 iControls that produces an email report of all ASM policies and what websites they protect. If a policy is enabled at the HTTP Class, it will ...
Published Mar 07, 2015
Version 1.0pjhhaas_109824
Nimbostratus
Joined October 14, 2011
pjhhaas_109824
Nimbostratus
Joined October 14, 2011
paul_dawson_258
Oct 17, 2016Nimbostratus
Hi, I am getting the following:
Exception calling "get_host_match_pattern" with "1" argument(s): "Exception
caught in
LocalLB::urn:iControl:LocalLB/ProfileHttpClass::get_host_match_pattern()
Common::NotImplemented
"
At C:\VM_shared\BIGIP\bigreport\4.2.1\asm_report.ps1:47 char:5
+ $PolicyPatterns =
(Get-F5.iControl).LocalLBProfileHttpClass.get_host_match_p ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : SoapHeaderException
You cannot call a method on a null-valued expression.
At C:\VM_shared\BIGIP\bigreport\4.2.1\asm_report.ps1:48 char:12
+ Return $PolicyPatterns.trim()
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Any Ideas?