Invoke-RASCertificateCmd
SYNOPSIS
Sends RAS Certificate commands.
SYNTAX
Invoke-RASCertificateCmd [-Id] <uint> -Command {Retry | Renew | Revoke}
[-RevokeReason {Unspecified | KeyCompromise | Superseded | CessationOfOperation}]
[<CommonParameters>]Invoke-RASCertificateCmd [-InputObject] <Certificate> -Command {Retry | Renew | Revoke}
[-RevokeReason {Unspecified | KeyCompromise | Superseded | CessationOfOperation}]
[<CommonParameters>]Invoke-RASCertificateCmd [-Name] <string> [[-SiteId] <uint>] -Command {Retry | Renew | Revoke}
[-RevokeReason {Unspecified | KeyCompromise | Superseded | CessationOfOperation}]
[<CommonParameters>]DESCRIPTION
Sends certificate commands such as Renew, Retry and Revoke.
It will not fail unless Id is invalid or certificate is not Let's Encrypt.
EXAMPLES
Example 1
Invoke the RAS Certificate to revoke the Let's Encrypt certificate with Id 1.
Example 2
Invoke the RAS Certificate to renew the Let's Encrypt certificate with Id 1.
Example 3
Invoke the RAS Certificate to retry the Let's Encrypt certificate with Id 1.
PARAMETERS
-Name
The name of a Certificate from a site to invoke a command on.
-SiteId
Site ID from which to invoke a command onto a Certificate.
If the parameter is omitted, the Licensing Server site ID will be used.
-Id
The ID of a Certificate to invoke a command on.
To obtain the ID, use the Get-RASCertificate cmdlet.
-InputObject
The Certificate to invoke a command on.
To obtain a Certificate object representing a Certificate, use the Get-RASCertificate command."
Type reference: Certificate
-Command
Certificate command.
Accepted values: Renew, Retry, Revoke.
Possible values: Retry, Renew, Revoke
Type reference: AcmeCommand
-RevokeReason
Acme revoke reason.
Possible values: Unspecified, KeyCompromise, Superseded, CessationOfOperation
Type reference: AcmeRevokeReason
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
Certificate
OUTPUTS
None
RELATED LINKS
Last updated