Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: https://github.com/Crypt32/PSPKI

Publish-CRL

[This command requires installed Remote Server Administration Tools (RSAT)]

Publish-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 (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

PKI.CertificateServices.CertificateAuthority

Outputs

None.

Notes

Author: Vadims Podans
Blog: https://www.sysadmins.lv

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

PowerShell Support

  • PowerShell 3.0

Operating System Support

  • Windows Server 2003 all editions
  • Windows Server 2008 all editions
  • Windows Server 2008 R2 all editions
  • Windows Server 2012 all editions
  • Windows Server 2012 R2 all editions

Comments:

Captcha