PowerShell PKI Module Documentation
Documentation HomePublish-CRL
Synopsis
Instructs CA server to publish new CRL.
Syntax
Publish-CRL [-CertificationAuthority] <CertificateAuthority[]> [-DeltaOnly] [-UpdateFile] [<CommonParameters>]
Description
Instructs CA server to publish new either Base or Delta CRL, or just updates existing CRLs. If Base CRL is published, empty Delta CRL is published too.
Parameters
-CertificationAuthority <CertificateAuthority[]>
Specifies the particular Certification Authority. This object can be retrieved by running Get-CertificationAuthority command.
Required? | True |
Position? | 0 |
Default value | |
Accept pipeline input? | true (ByValue, ByPropertyName) |
Accept wildcard characters? | False |
-DeltaOnly <SwitchParameter>
Instructs CA to publish only new Delta (incremental) CRL.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-UpdateFile <SwitchParameter>
Instructs CA to republish existing CRLs. No updates are performed in CRL table. This parameter just updates missing CRL files.
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, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
Inputs
PKI.CertificateServices.CertificateAuthority
Outputs
None.
Notes
Examples
Example 1
PS C:\> Get-CertificationAuthority MyCA* | Publish-CRL
Publishes new Base and empty Delta CRLs.
Example 2
PS C:\> Get-CertificationAuthority MyCA* | Publish-CRL -DeltaOnly
Publishes new Delta CRL.
Example 3
PS C:\> Get-CertificationAuthority | Publish-CRL -UpdateFile
Republishes existing CRLs for all CA servers in the forest.
Related links
Get-CertificationAuthority
Connect-CertificationAuthority
Minimum PowerShell version support
- Windows PowerShell 3.0
Operating System Support
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
- Windows 11
- Windows Server 2008 R2 all editions
- Windows Server 2012 all editions
- Windows Server 2012 R2 all editions
- Windows Server 2016 all editions
- Windows Server 2019 all editions
- Windows Server 2022 all editions