Forum Discussion
paul_dawson_258
Nimbostratus
Aug 02, 2016Powershell query for SSL Client profile
Hi,
I would like to use powershell iControl snapin to query all Virtual Servers and list the ones that have an SSL client profile.
I have tried:
$ProfileSSL = (Get-F5.iControl).LocalLBVirtual...
Joel_Newton
Cirrus
Aug 02, 2016I believe you'll need to pass the virtual server name to the get_profile() method. Something like this:
$vips = (Get-F5.iControl).LocalLBVirtualServer.get_list()
ForEach ($vip in $vips){
$profiles = (Get-F5.iControl).LocalLBVirtualServer.get_profile($vip)
If ($profiles){
write-output "Virtual Server: $Vip"
Write-Output "Profiles: `r`n " + $profiles
}
Write-Output "-----"
}
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
