paul_dawson_258
Mar 05, 2017Nimbostratus
Hi Patrik, Some more info although the ASM column is still not being populated - all are showing N/A. I noticed that the ASM variables were not being cached.
Get-Variable | Out-String
ASMPolicies {}
I didn't see any of the other ASM variables loaded.
On line 995 I think ShowCompressionProfile should read ShowASMPolicyBlockingMode. I changed this but it still did not work so I commented out the second condition:
and ($ProvisionedModules | Where-Object { $_.loadbalancer -eq $loadbalancername }).ProvisionedModules -Contains "TMOS_MODULE_ASM"){
Now I can see the ASM Policies and they are loaded into cache while the script is running
Get-Variable | Out-String
Name Value
---- -----
$ $ASMPolicies
? True
^ $ASMPolicies
args {}
ASMPolicies {ASMPolicy, ASMPolicy, ASMPolicy, ASMPolicy...}
And the info is there
$ASMPolicies (example)
name : /Common/TEMPLATE
blockingmode : Transparent
language : UNICODE_UTF_8
http_header_length : 8192
cookie_length : 8192
description :
loadbalancer : lb10mgt.domain.com
Unfortunately still not showing up in the ASM column though. Hope this helps.