Exporter (0) Imprimer
Développer tout
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

Remove-CATemplate

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows 8.1 Preview, Windows PowerShell 4.0, Windows Server 2012 R2

Remove-CATemplate

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

Syntax

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

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




Detailed Description

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

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.


Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Force

Forces the command to run without asking for user confirmation.


Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

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.


Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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


Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • System.String

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

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

Related topics

Cela vous a-t-il été utile ?
(1500 caractères restants)
Merci pour vos suggestions.
Afficher:
© 2014 Microsoft