我想从我的系统中获取所有证书。 所以我用了System.Security.Cryptography.X509Certificates class.
当我删除了()
的X509Store
后,我得到了相同的结果就像我进入"My"
PowerShell - X509Certificates.X509Store获取所有证书?
什么是看到所有的证书正确成员名称?有可能的?
$store=new-object System.Security.Cryptography.X509Certificates.X509Store("CA")
# Put in CA, My, root etc.
$store.open("ReadOnly")
$store.Certificates
$store.Certificates.count