Forum Discussion
kelemvor_50002
Nimbostratus
Jul 12, 2013Can I change the default pool for a virt?
Can I make changes to a virt via Powershell? If I have Virt_1 pointing to Pool_1 and I want it to point to Pool_2, can I do that?
Kevin_Stewart
Employee
Jul 16, 2013You can actually.
https://devcentral.f5.com/wiki/iControl.PowerShell.ashx
At a minimum you need the following commands:
Add-PSSnapin iControlSnapin
Initialize-F5.iControl -HostName [IP of host name of BIG-IP] -Username [admin username] -Password [admin password]
$changepool = (Get-F5.iControl).LocalLBVirtualServer.set_default_pool_name(("my_vs"), ("my_new_pool"))
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects