Created
May 17, 2018 07:03
-
-
Save Celoxocis/dcaa9b9316c2497430afb4fef1e35b52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-Content -path "\\exchange-server\C$\mail_yourdomain_com.req" -Value (New-ExchangeCertificate -Server exchange-server -GenerateRequest –FriendlyName mail.yourdomain.com -KeySize 4096 -SubjectName "c=US, s=NY, l=New York City, o=Your Company Name, ou=Information Technology, cn=mail.yourdomain.com" -DomainName mail.yourdomain.com, autodiscover.yourdomain.com, yourdomain.com -PrivateKeyExportable $True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment