With PowerShell PKI module, you can do it easily:
Get-CertificateTemplate | Get-CertificateTemplateAcl
Access
property will contain simplified ACL object (which is a wrapper around ActiveDirectoryRight class) which reflects the GUI. For example, here is how the output will look like:
PS C:\> Get-CertificateTemplate -name smartcarduserv2 | Get-CertificateTemplateAcl | select -expand access
CertificateTemplateRights : Read
Rights : Read
AccessControlType : Allow
IdentityReference : NT AUTHORITY\Authenticated Users
IsInherited : False
InheritanceFlags : None
PropagationFlags : None
CertificateTemplateRights : Read, Write
Rights : Read, Write
AccessControlType : Allow
IdentityReference : SYSADMINS\Administrator
IsInherited : False
InheritanceFlags : None
PropagationFlags : None
CertificateTemplateRights : Read, Write, Enroll
Rights : Read, Write, Enroll
AccessControlType : Allow
IdentityReference : SYSADMINS\Domain Admins
IsInherited : False
InheritanceFlags : None
PropagationFlags : None
CertificateTemplateRights : Read, Write, Enroll
Rights : Read, Write, Enroll
AccessControlType : Allow
IdentityReference : SYSADMINS\Enterprise Admins
IsInherited : False
InheritanceFlags : None
PropagationFlags : None
CertificateTemplateRights : Read, Enroll, Autoenroll
Rights : Read, Enroll, Autoenroll
AccessControlType : Allow
IdentityReference : SYSADMINS\Smart Card Users
IsInherited : False
InheritanceFlags : None
PropagationFlags : None
PS C:\>