Skip to content

Instantly share code, notes, and snippets.

@lamw
lamw / Get-SSLThumbprint.ps1
Created May 22, 2016 13:37
Powershell snippet to help extract the SSL Thumbprint (SHA1) of a remote system
Function Get-SSLThumbprint {
param(
[Parameter(
Position=0,
Mandatory=$true,
ValueFromPipeline=$true,
ValueFromPipelineByPropertyName=$true)
]
[Alias('FullName')]
[String]$URL