Powershell实现导入安装证书功能脚本分享
支持所有版本。 通常从文件加载一个证书并且安装它到指定的库。可以使用下面的脚本: 代码如下: $pfxpath = ‘C:\temp\test.pfx’ $password = ‘test’ [System.Security.Cryptography.X509Certificates.StoreLocation]$Store = ‘CurrentUser’ $StoreName = ‘root’ Add-Type -AssemblyName System.Security $certificate = New-Object System.Security.Cryptography.X50
下载地址
用户评论