Forum Discussion
Apr 19, 2014
Hi!
If all you want is the Client SSL profile this should work:
Add-PSSnapIn iControlSnapIn
$Success = Initialize-F5.iControl -Hostname 192.168.161.10 -Credentials (Get-Credential)
Foreach($VSProfiles in ((Get-f5.iControl).LocalLBVirtualServer).get_profile("PajoIIS-443")){
$ClientSSLProfile = $vsprofiles | where { $_.profile_type -eq "PROFILE_TYPE_CLIENT_SSL" }
If($ClientSSLProfile){
$ClientSSLProfile
} else {
"No client SSL profile was found"
}
}
/Patrik