Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
langxml
Enable-ExchangeCertificate -thumbprint "BBB2306EF35037B037EF6A110DFBB68CFEAD27B7" -services IIS

Exporting Certificate

Generate and Store Certificate information into memory:

Code Block
langxml
$file = Export-ExchangeCertificate -Thumbprint 5113ae0233a72fccb75b1d0198628675333d010e -BinaryEncoded:$true -Password (Get-Credential).password

Export Memory to File on drive:

Code Block
langxml
Set-Content -Path "c:\certificates\htcert.pfx" -Value $file.FileData -Encoding Byte