Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Installation/ImportSQL.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if($CertInStore){
}
# The thumbprint must be in all lowercase, otherwise SQL server doesn't seem to accept it?!
Set-ItemProperty $regKey.PSPath -Name "Certificate" -Value $NewCertThumbprint.ToLowerInvariant()
Restart-Service MSSQLSERVER -Force -ErrorAction Stop
Restart-Service 'MSSQL*' -Force -ErrorAction Stop
"Cert thumbprint set to SQL and service restarted"
}catch{
"Cert thumbprint was not set successfully"
Expand Down