Partager via


Instantiate Microsoft Certificate Authority management interface using powershell

Microsoft's Certificate Authority management interface as mentioned in https://msdn.microsoft.com/en-us/library/aa383234(VS.85).aspx is implemented in certadm.dll. certadm.dll does not ship by default on client system and is part of admin pack (or called Remote Server Administration tools https://www.microsoft.com/downloads/details.aspx?FamilyId=9FF6E897-23CE-4A36-B7FC-D52065DE9960&displaylang=en) that can be installed on the client system. Once installed, you can quickly test the interface using powershell with this sample script:

> $certadmin = new-object -com "CertificateAuthority.Admin.1"
> $name = $certadmin.GetCAProperty("camachinename\CAName", 6, 0, 4, 0)