Condividi tramite


Get-CATemplate

Get-CATemplate

Gets the list of templates set on the certification authority (CA) for issuance of certificates.

Syntax

Get-CATemplate [ <CommonParameters>]

Detailed Description

The Get-CATemplate cmdlet gets the list of templates set on the CA for issuance of certificates.

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

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

  • None

Outputs

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

  • Microsoft.CertificateServices.Administration.Commands.Common.CertificateTemplate

    The output object type will contain an array of certificate template objects which will have two properties: (1) Object Name and (2) Object ID (OID). Both properties are of string type.

Examples

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

Description

-----------

Return a list of certificate template entries that each contain a template name.

C:\PS>Get-CATemplate

Add-CATemplate

Remove-CATemplate