$txtrequest = Get-ExchangeCertificate -Thumbprint 3DCE6E09EF84BB752BFB7F91380976E576A778C2 | New-ExchangeCertificate -GenerateRequest
$txtrequest | Set-Content C:\smr-srv-000008.req
$txtrequest = Get-ExchangeCertificate -Thumbprint 5DB9879E38E36BCB60B761E29794392B23D1C054 | New-ExchangeCertificate -GenerateRequest
[System.IO.File]::WriteAllBytes('\\FileServer01\Data\ContosoCertRenewal.req', [System.Text.Encoding]::Unicode.GetBytes($txtrequest))