Retrieves CRL validity period.
Get-CRLValidityPeriod [-CertificationAuthority] <CertificateAuthority> [<CommonParameters>]
Retrieves CRL validity period and overlap settings. Overlap settings allows extension of CRL validity period for a certain time when you experience large (several hours) AD/DFS replication delays.
Specifies the particular Certification Authority. This object can be retrieved by running Get-CertificationAuthority command.
|Accept pipeline input?||true (ByValue, ByPropertyName)|
|Accept wildcard characters?||False|
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
Author: Vadims Podans
PS C:\> Get-CertificationAuthority -Name "Company-CA" | Get-CRLValidityPeriod
Returns CRL validity period settings for 'Company-CA' CA server.
PS C:\> Get-CertificationAuthority | Get-CRLValidityPeriod
Returns CRL validity period settings for all Enterprise CA servers.
PS C:\> Get-CertificationAuthority -Name Company-CA | Get-CRLValidityPeriod | Set-CRLValidityPeriod -BaseCRL "22 weeks" -BaseCRLOverlap "2 days" -RestartCA
Sets Base CRL publishing period as 22 weeks and overlap delay as 2 days. After configuration is changed, the command will restart certificate services to immediately apply changes.
PS C:\> Get-CertificationAuthority -Name Company-CA | Get-CRLValidityPeriod | Set-CRLValidityPeriod -DeltaCRL "0 days" -RestartCA
Disables Delta CRL publishing for all Certification Authorities in current forest. After configuration is changed, the command will restart certificate services to immediately apply changes.