PowerShell PKI Module Documentation
Documentation HomeGet-CertificateRevocationListFlag
Synopsis
Retrieves Active Directory Certificate Services (AD CS) certificate revocation list (CRL) settings.
Syntax
Get-CertificateRevocationListFlag [-CertificationAuthority] <CertificateAuthority[]> [<CommonParameters>]
Description
Retrieves Active Directory Certificate Services (AD CS) certificate revocation list (CRL) settings. These flags affects only to a CA server where they are defined.
Parameters
-CertificationAuthority <CertificateAuthority[]>
Specifies the Certification Authority object. 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 |
<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
PKI.CertificateServices.Flags.CRLFlag
Notes
Examples
Example 1
PS C:\> Get-CertificationAuthority -name "company-CA1" | Get-CertificateRevocationListFlag
The command retrieves CRL flags for 'company-CA1' CA server.
Related links
Get-CertificationAuthority
Connect-CertificationAuthority
Enable-CertificateRevocationListFlag
Disable-CertificateRevocationListFlag
Restore-CertificateRevocationListFlagDefault
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