Forum Discussion
How to update Powershell to use new v11 iControl calls
https://devcentral.f5.com/Community...fault.aspx
but obviously not.
PS C:\Users\client1> (Get-F5.iControl).GlobalLBVirtualServer.get_list()
name address
---- -------
/Common/vs_10_70_2_53_53_gtm 10.70.2.53
/Common/one_connect_vs 10.70.0.104
.....
Simply want to start using the new v11 V2 calls.
PS C:\Users\client1> (Get-F5.iControl).GlobalLBVirtualServerV2.get_list()
You cannot call a method on a null-valued expression.
At line:1 char:51
+ (Get-F5.iControl).GlobalLBVirtualServerV2.get_list <<<< ()
+ CategoryInfo : InvalidOperation: (get_list:String) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
2 Replies
- Alex, most likely your best bet is to download the latest installer and then run it. If that doesn't work, you might have to remove/re-install.
Let me know if either of those steps don't work.
I'm working on the 11.2 PowerShell version right now so I'll test the upgrade and report back.
-Joe - Alex__Applebaum
Employee
Duhh, That would make sense. Was definitely having my little forest through the trees moment. Thinking I know it needs the new wsdl and didn't see the python dynamic equivalent wsdls = ['XXX', 'XXXX'] so thought could simply swap out a file or something :)
In any case, completely uninstalled and Re-installed "iControl Cmdlets v11.0.0 msi" from:
https://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/3/aft/1172127/showtab/groupforums/Default.aspx
and worked like a charm. I'll be on the lookout for v11.2!
Thanks!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
