F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

BigIP Report Old

Problem this snippet solves: This codeshare has been deprecated due to a hosting platform corruption. I have moved code and conversation to a new record (on the same original URL) https://devcentra...
Updated Dec 08, 2022
Version 2.0
application delivery
devops
iControl
LTM
microsoft powershell with icontrol
Patrik_Jonsson's avatar
Patrik_Jonsson
Icon for MVP rankMVP
Joined January 16, 2009
View Profile
paul_dawson_258's avatar
paul_dawson_258
Icon for Nimbostratus rankNimbostratus
Mar 04, 2017

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.

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information