Remove-CATemplate

Remove-CATemplate

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

Sintaxis

Parameter Set: Default
Remove-CATemplate [-Name] <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AllTemplates
Remove-CATemplate -AllTemplates [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Descripción detallada

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

Parámetros

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

Alias

ninguno

¿Requerido?

true

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Force

Fuerza que el comando se ejecute sin pedir confirmación al usuario.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-Name<String>

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.

Alias

ninguno

¿Requerido?

true

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • System.String

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • None

Ejemplos

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

Description

-----------

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

C:\PS>Remove-CATemplate -AllTemplates

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

Description

-----------

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

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

Temas relacionados

Add-CATemplate

Get-CATemplate