CmdID

CmdID / PowerShell / Cmdlets / Switch

Switch-Certificate

Marks one certificate as having been replaced by another certificate. Windows Server PowerShell reference

From the Windows Server PowerShell reference 5 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

5 in the Windows Server PowerShell reference
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-NewCertSpecifies an X509 certificate or a certificate path for the certificate that replaces the certificate specified with the OldCert parameter.
-NotifyOnlyCreates a replacement certificate notification without replacing the NewCert parameter with the OldCert parameter.
-OldCertSpecifies an X509 certificate or a certificate path in the certificate provider for the certificate to be replaced.
-WhatIf, -wiShows what would happen if the cmdlet runs.