Edit

Share via


Remove-CACrlDistributionPoint

Removes the URI for the CRL distribution point (CDP) from the CA.

Syntax

Default (Default)

Remove-CACrlDistributionPoint
    [-Uri] <String>
    [-AddToCertificateCdp]
    [-AddToFreshestCrl]
    [-AddToCrlCdp]
    [-AddToCrlIdp]
    [-PublishToServer]
    [-PublishDeltaToServer]
    [-Force]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]

Description

The Remove-CACRLDistributionPoint cmdlet removes the uniform resource identifier (URI) for the certificate revocation list (CRL) distribution point from the certification authority (CA).

Examples

Example 1: Remove all URIs for all distribution points for the specified URI

PS C:\> Remove-CACrlDistributionPoint -URI "http://corp.contoso.com/rootca.crl"

This command removes all URIs for all distribution points that contain the specified URI value http://corp.contoso.com/rootca.crl.

Example 2: Remove the URIs for all distribution points for the CDP extension of issued certificates

PS C:\> Remove-CACrlDistributionPoint -Uri "http://corp.contoso.com/rootca.crl" -AddToCertificateCdp

This command removes only the URIs that are set to a value of http://corp.contoso.com/rootca.crl and for which the AddToCertificateCdp parameter is set.

Example 3: Remove the URIs for all distribution points for the CDP and IDP extensions of issued certificates

PS C:\> Remove-CACrlDistributionPoint -Uri "http://www.contoso.com/pki/orca.crl" -AddToCertificateCdp -AddToCrlIdp

This command removes only the URIs that are unique to the URI named http://www.contoso.com/pki/orca.crl and the combination of flags that are set or included with the AddToCertificateCdp and AddToCrlIdp parameters.

Parameters

-AddToCertificateCdp

Indicates that the cmdlet removes the CDP extension of issued certificates.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-AddToCrlCdp

Indicates that the cmdlet removes the CRL.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-AddToCrlIdp

Indicates that the cmdlet removes the IDP extension of issued certificates.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-AddToFreshestCrl

Indicates that the cmdlet removes the most recent CRL.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-PublishDeltaToServer

Indicates that the cmdlet removes the delta CRL.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-PublishToServer

Indicates that the cmdlet removes the base CRL.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Uri

Specifies the uniform resource identifier (URI) for the distribution point ___location of the certificate revocation list (CRL). This is the ___location from where status information about certificate revocation has been retrieved and/or the ___location the CRL was published.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

SwitchParameter

Outputs

Microsoft.CertificateServices.Administration.Commands.CA.CrlDistributionPointResult

This cmdlet returns a property named RestartCA, which when set to True indicates that the CA service (certsvc) needs to be restarted.