Skip to content

Instantly share code, notes, and snippets.

@ProNotion
Created February 13, 2018 09:04
Show Gist options
  • Save ProNotion/1f6a1baeeb200f22272f459ea1968478 to your computer and use it in GitHub Desktop.
Save ProNotion/1f6a1baeeb200f22272f459ea1968478 to your computer and use it in GitHub Desktop.
List all sites in IIS with SSL Bindings
import-module WebAdministration
Write-Host "`n Listing sites with SSL bindings"
Write-Host "**********************************`n"
ls IIS:\SslBindings | Foreach {
Write-Host " - $($_.Host)"
}
Write-Host "`n**********************************"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment