PowerShell - Get a list of VIPs and SSL profiles (client and server)
 Problem this snippet solves:  Having had numerous occasions where I needed to figure out where a particular SSL profile was assigned and seeing a few similar questions here on DC, I decided to make u...
Updated Jun 06, 2023
Version 2.0Michael_Jenkins Cirrostratus
Cirrostratus
Joined May 21, 2019
Julio_Navarro Cirrostratus
Cirrostratus
Feb 16, 2016Nice Code!
Quick question - How I can expand the columns size? I am getting ".../" at the end of each virtual server name.
Thank You
UPDATE:
 $virtualServers.items | Select-Object Name, FullPath, `
                                    @{Name="ClientSslProfiles"; Expression={($_.profilesReference.items | ?{ $sslProfilesClient -contains $_.fullPath -and $_.context -eq "clientside" }) | Select -ExpandProperty fullPath }}, `
                                    @{Name="ServerSslProfiles"; Expression={($_.profilesReference.items | ?{ $sslProfilesServer -contains $_.fullPath -and $_.context -eq "serverside" }) | Select -ExpandProperty fullPath }}  | `
export-csv "\\localhost\test\Groups_Members.csv" -NoTypeInformation -Delimiter ';';
This will export it to a CSV file
Thanks!!!!!!!!!!
J