remove-cacrldistributionpoint

Removes the URI for the certificate revocation list (CRL) distribution point (CDP) from the certification authority (CA).

Syntax

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 --------------------------

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

Description


Removes all URIs for all distribution points that contain the specified URI value ("http://corp.contoso.com/rootca.crl").

-------------------------- EXAMPLE 2 --------------------------

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

Description


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

-------------------------- EXAMPLE 3 --------------------------

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

Description


Removes only the uniform resource indicators (URIs) that are unique to the URI specified ("http://www.contoso.com/pki/orca.crl") and the combination of flags that are set or included (AddToCertificateCdp, AddToCrlIdp).

Parameters

-AddToCertificateCdp

Remove from the CDP extension of issued certificates.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-AddToCrlCdp

Remove from the certificate revocation list (CRL).

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-AddToCrlIdp

Remove from the IDP extension of issued certificates.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-AddToFreshestCrl

Remove from the most recent (freshest) certificate revocation list (CRL).

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PublishDeltaToServer

Remove the delta certificate revocation list (CRL).

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-PublishToServer

Remove from the base certificate revocation list (CRL).

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters: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.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

Microsoft.CertificateServices.Administration.Commands.CA.CrlDistributionPointResult

There is an output property named RestartCA, which when set to True indicates that the CA service (certsvc) needs to be restarted.