NAME
Restore-CertificateRevocationListFlagDefault
SYNOPSIS
Restores default CA certificate revocation list (CRL) configuration flags.
SYNTAX
Restore-CertificateRevocationListFlagDefault [-InputObject] <CRLFlag> [-RestartCA] [<CommonParameters>]
DESCRIPTION
Restores default CA certificate revocation list (CRL) configuration flags and discards any previous CRL flag modifications. This command is helpful in the case of incorrect configuration or you want to stay "default".
By default only these flags are enabled: DeleteExpiredCRLs - deletes CRLs signed by the expired CA keys.
PARAMETERS
-InputObject <CRLFlag>
Specifies existing CRLFlag object. This object can be retrieved by running
Get-CertificateRevocationListFlag command.
| Required? |
true |
| Position? |
1 |
| Default value |
|
| Accept pipeline input? |
true (ByValue, ByPropertyName) |
| Accept wildcard characters? |
false |
-RestartCA <>
Restarts CA service on the specified CA server to immediately apply changes.
| Required? |
false |
| Position? |
named |
| Default value |
|
| Accept pipeline input? |
false |
| Accept wildcard characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
PKI.CertificateAuthority.Flags.CRLFlag
OUTPUTS
PKI.CertificateAuthority.Flags.CRLFlag
NOTES
Author: Vadims Podans
Blog: http://en-us.sysadmins.lv
EXAMPLES
-------------- Example 1 --------------
C:\PS>Get-CertificationAuthority ca01.company.com | Get-CRLFlag | Restore-CRLFlagDefault -RestartCA
The command restores default flags for CA CRL configuration for CA server running on ca01.company.com computer. After the configuration is changed, the command will restart certificate services to immediately apply changes.
RELATED LINKS
Get-CertificationAuthority
Connect-CertificationAuthority
Get-CertificateRevocationListFlag
Enable-CertificateRevocationListFlag
Disable-CertificateRevocationListFlag