Commit 60735165 authored by Ben Galloway's avatar Ben Galloway

Add hostkey to Exchange script

parent 1ad6d9c7
......@@ -5,7 +5,7 @@ Start-Transcript -Path "$PSScriptRoot\log.txt"
try {
Write-Output "Retrieving current certificate..."
.\pscp -pw REPLACEME autocert@acme.gsc.org.uk:certs/win/gsc.org.uk.pfx .
.\pscp -pw REPLACEME -hostkey "c6:74:53:1c:be:7f:9b:70:50:14:c8:cd:6a:c2:a0:bb" autocert@acme.gsc.org.uk:certs/win/gsc.org.uk.pfx .
}
catch {
Write-Output "Could not retrieve certificate from the GSC certificate store."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment