Andy_Edwards_25
Nimbostratus
Apr 26, 2016I am getting the following error every time I run the script. It appears that the variable $pools is never declared.
You cannot call a method on a null-valued expression.
At C:\temp\Bigipreport4.0.1\Bigipreport-4.0.1.ps1:1262 char:6
+ if(!$pools.loadbalancer.contains($Loadbalancer)){
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)