Ok for the working one I got below: - Here's the virtual server profile list
profile_type profile_context profile_name
------------ --------------- ------------
PROFILE_TYPE_FAST_L4 PROFILE_CONTEXT_TYPE_ALL /Common/fastL4
PROFILE_TYPE_CLIENT_SSL PROFILE_CONTEXT_TYPE_CLIENT /Common/clientssl-insecure-compatible
PROFILE_TYPE_SERVER_SSL PROFILE_CONTEXT_TYPE_SERVER /Common/crypto-client-default-serverssl
PROFILE_TYPE_TCP PROFILE_CONTEXT_TYPE_ALL /Common/tcp
Here's the object type
Method invocation failed because [iControl.LocalLBVirtualServer] does not contain a method named 'get_source_address_translation_type'.
While for the non-working one I got below: -
2017-01-11 06:04:14 Adding orphaned pools to the virtual server list 2017-01-11 06:04:14 Getting data from IP 2017-01-11 06:04:15 iControl session successfully established 2017-01-11 06:04:15 Getting hostname 2017-01-11 06:04:15 Hostname is ltm-hostname 2017-01-11 06:04:15 Caching LTM information from ltm-hostname 2017-01-11 06:04:15 Getting partition information 2017-01-11 06:04:15 Caching node data in partition Common 2017-01-11 06:04:15 Caching monitors in partition Common 2017-01-11 06:04:16 Caching data group lists in partition Common 2017-01-11 06:04:17 Caching Pools in partition Common 2017-01-11 06:04:28 Caching iRules in partition Common on LTM 2017-01-11 06:04:37 Caching Virtual servers in partition Common Exception calling "get_profile" with "1" argument(s): "There is an error in XML document (1118, 79)." At C:\inetpub\wwwroot\Bigipreport-4.3.0.ps1:964 char:3 + [array]$virtualserverprofilelist = $($virtu ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : InvalidOperationException
Here's the virtual server profile list Here's the object type You cannot call a method on a null-valued expression. At C:\inetpub\wwwroot\Bigipreport-4.3.0.ps1:971 char:1 + $virtualserverprofilelist.gettype() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [], RuntimeException + FullyQualifiedErrorId : InvokeMethodOnNull
Method invocation failed because [iControl.LocalLBVirtualServer] does not contain a method named 'get_source_address_translation_type'.