Forum Discussion
PowerShell - iControl
Hello,
Can someone please tell me how to disable/enable a Virtual Server using iControl? Below is what I have so far. It authenticates fine and other commands work but I just can't seem to disable or enable a virtual server.
Add-PSSnapIn iControlSnapIn
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Initialize-F5.iControl -HostName test.abc.abc -Username test -Password test
Disable-F5.LTMVirtualServer VS_Test
Thank you for the help!
- JRahmAdmin
That PS library hasn't been maintained in quite some time. One of our former MVPs has a more recent one you should check out: https://github.com/joel74/POSH-LTM-Rest.
Cool, thank you! I'll give it a try.
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