Remove-CcLegacyServerCertificate
The Remove-CcLegacyServerCertificate cmdlet removes legacy server certificates on the Central Management Store, Mediation Server, and Edge Server after you execute the Renew-CcCACertificate or Renew CcServerCertificate cmdlets.
Remove-CcLegacyServerCertificate [[-Roles] <array> {Cms | MS | Edge}]
Examples
Example 1
The following example removes legacy certificates issued for the Central Management Store, Mediation Server, and Edge Server after you have renewed the certificates:
Remove-CcLegacyServerCertificate
Example 2
The next example removes certificates issued for Mediation Server and Edge Server after you have renewed the certificates:
Remove-CcLegacyServerCertificate -Roles @("MS", "Edge")
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Roles |
Optional |
System.Array |
Array of Cloud Connector server roles. |
Input Types
None. The Remove-CcLegacyServerCertificate cmdlet does not accept pipelined input.
Return Types
None