# Aktuelles Zertifikat auslesen
Get-ExchangeCertificate | Where {$_.IsSelfSigned -eq $false} | FL FriendlyName,CertificateDomains,Thumbprint,NotAfter
# Basis des vorhandenen einen neuen Request stellen
Get-ExchangeCertificate -Thumbprint 559642FCD3DD4769D79A457D11875AF9E6E49F3C | New-ExchangeCertificate -GenerateRequest -RequestFile “\\ex16\c$\users\NDS\desktop\certreq.txt” -PrivateKeyExportable:$true
# Neues Zertifkat importieren
Import-ExchangeCertificate -FileName “\\ex16\c$\users\NDS\desktop\ex16.cer” -PrivateKeyExportable:$true
# Importiertes Zertifikat binden
Enable-ExchangeCertificate –Thumbprint 95194B92F3CFFC9CE7F3C8A94B48E3973D472195 –Services “IIS, SMTP, POP, IMAP”
# Kontrolle
Get-ExchangeCertificate | where {$_.IsSelfSigned -eq $false} | Format-List FriendlyName,Thumbprint,NotAfter,Services
# Altes Zertifikat löschen
Remove-ExchangeCertificate -Thumbprint 559642FCD3DD4769D79A457D11875AF9E6E49F3C