PowerShell module for the F5 LTM REST API
Problem this snippet solves: To report an issue with the F5-LTM or F5-BIGIP modules, please use the Issues sections of the GitHub repos (here and here) instead of commenting here. Thanks!
This Pow...
Updated Jun 06, 2023
Version 2.0Joel_Newton
Cirrus
Joined September 06, 2012
Joel_Newton
Sep 07, 2018Cirrus
Hi, Tim,
At the moment, you'll need to use Set-VirtualServer. If you retrieve a virtual server from your LTM, you can then add client and server side profiles to the VS object, and pass that object to Set-VirtualServer to add them. There's an example in Set-VirtualServer for how to structure the JSON request for adding your profiles. If the virtual server already has a profiles object, you will need to modify the example to set the value of the profiles property, instead of adding it to the virtual server.
-Joel