CmdID / PowerShell / Cmdlets / Set
Set-AdfsCertificate
Sets the properties of an existing certificate that AD FS uses to sign, decrypt, or secure communications. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-CertificateTypeSpecifies the certificate type (that is, how the Federation Service uses the certificate).-IsPrimaryIndicates that the certificate is primary.-PassThruReturns an object representing the item with which you are working.-ThumbprintSpecifies the thumbprint of the certificate to use.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.