Forum Discussion
Buddy_Edwards_1
Nimbostratus
Sep 20, 2016Retrieve Profiles in PowerShell
I am in the process of writing a script that looks up relevant information for a Virtual Server and then saves the output to a file. I want the format to be broken up a little more and can't seem to ...
Michael_Jenkins
Cirrostratus
Sep 20, 2016One thing you could try too is to add
?expandSubcollections=true which expands the sub collections (e.g. profiles), so you can get everything in one call instead of having to do a second call to get the profiles list.
Regarding determining profile type, from my experience the best way to do that is to make a call to get all the desired profiles (e.g. SSL) and then do a lookup on name for the ones on a VS and see if you can map them to their type, since they don't specify the profile type on the VS itself.
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