DSCResources/DSC_AdcsTemplate/en-US/about_AdcsTemplate.help.txt

.NAME
    AdcsTemplate
 
.DESCRIPTION
    This resource can be used to add or remove Certificate Authority templates
    from an Enterprise CA.
    Using this DSC Resource assumes that the ADCS-Cert-Authority feature
    and the AdcsCertificationAuthority resource have been installed with
    a CAType of EnterpriseRootCA or EnterpriseSubordinateCA.
 
.PARAMETER Name
    Key - String
    Specifies the name of the CA template
 
.PARAMETER Ensure
    Write - String
    Allowed values: Present, Absent
    Specifies whether the CA Template should be added or removed.
 
.EXAMPLE 1
 
This example will add the KerberosAuthentication CA Template to the server.
 
Configuration AdcsTemplate_AddTemplate_Config
{
    Import-DscResource -Module ActiveDirectoryCSDsc
 
    Node localhost
    {
        AdcsTemplate KerberosAuthentication
        {
            Name = 'KerberosAuthentication'
            Ensure = 'Present'
        }
    }
}
 
.EXAMPLE 2
 
This example will remove the DomainController CA Template from the server.
 
Configuration AdcsTemplate_RemoveTemplate_Config
{
    Import-DscResource -Module ActiveDirectoryCSDsc
 
    Node localhost
    {
        AdcsTemplate DomainController
        {
            Name = 'DomainController'
            Ensure = 'Absent'
        }
    }
}