Forum Discussion
AngryCat_52750
Nimbostratus
Jan 28, 2016automate session delete
i have a task to delete specific sesssions every night. is there anyway i can automate this. i looked in the powershell module but there were no delete modules.
i am looking to run the following...
Theo_12742
Cirrus
Jan 29, 2016The powershell module has some built-ins, but it has access to the API via the Get-F5.iControl object. You should be able to use a combination of get_all_active_connections_v2 and delete_active_connection to achieve your result.
Here's a quick sample on getting the connection list:
(Get-F5.iControl).SystemConnections.get_all_active_connections()
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