CmdID / PowerShell / Cmdlets / Set
Set-HgsKeyProtectionCertificate
Modifies properties of a key certificate in the Key Protection Service. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-CertificateTypeSpecifies of the type of the certificate that this cmdlet modifies.-ForceForces the command to run without asking for user confirmation.-IsEnabledIndicates whether to enable a certificate.-IsPrimaryIndicates that this cmdlet makes a certificate into the primary certificate.-ThumbprintSpecifies the thumbprint of the certificate to modify.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.