WaterlooSysAdmi
Jan 21, 2021Cirrus
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!