remove-catemplate

Removes the templates from the certification authority (CA) which were set for issuance of certificates.

Syntax

remove-catemplate
      [-Name] <String>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
remove-catemplate
      [-AllTemplates]
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-CATemplate cmdlet removes the templates from the certification authority (CA) which were set for issuance of certificates.

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>Remove-CATemplate -AllTemplates

Description


All the templates on the CA set for certificates issuance are removed.

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

C:\PS>Remove-CATemplate -Name "EFS"

Description


The template named "EFS" on the CA that is set for certificate issuance is removed.

Parameters

-AllTemplates

Removes all certificate templates on the CA that are available for certificate issuance. A common task administrative task is to remove all the default templates that are currently added for issuance. This allows the administrator to add only the templates that should be available for certificate issuance in the given scenario.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
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

-Name

Removes an individual certificate template from the CA that is available for certificate issuance. Be sure to use the certificate template name and not the certificate template display name. For example, the certificate template display name of Basic EFS is assigned the template name EFS.

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:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

None