Removes the templates from the certification authority (CA) which were set for issuance of certificates.
The Remove-CATemplate cmdlet removes the templates from the certification authority (CA) which were set for issuance of certificates.
-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.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force <SwitchParameter>
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value
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.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
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
Remove-CATemplate [-Name] [-Force ] [-Confirm ] [-WhatIf ] [] Remove-CATemplate [-Force ] -AllTemplates [-Confirm ] [-WhatIf ] []
C:\PS>Remove-CATemplate -AllTemplates
All the templates on the CA set for certificates issuance are removed.
C:\PS>Remove-CATemplate -Name “EFS”
The template named “EFS” on the CA that is set for certificate issuance is removed.
Get-Command Remove-CATemplate
Add-CATemplate
Get-CATemplate