If you would like to be able to import certificates into the Certificate store using PowerShell, there are now a built-in set of PowerShell cmdlets that allow you to do this!
Starting with Windows 8.1 and Windows Server 2012 R2, you can use either of the following PowerShell cmdlets:
You can read more about these PowerShell Cmdlets here:
https://technet.microsoft.com/en-us/%5Clibrary/hh848630%28v=wps.630%29.aspx
https://technet.microsoft.com/en-us/library/hh848625%28v=wps.630%29.aspx
Unfortunately, if you are using an older version of Windows (such as Windows Server 2008 R2 or even Windows Server 2012), you will need to implement your own custom PowerShell script to accomplish this similar to what is implemented here:
http://www.orcsweb.com/blog/james/powershell-ing-on-windows-server-how-to-import-certificates-using-powershell/
Starting with Windows 8.1 and Windows Server 2012 R2, you can use either of the following PowerShell cmdlets:
- Import-Certificate
- Import-PfxCertificate
You can read more about these PowerShell Cmdlets here:
https://technet.microsoft.com/en-us/%5Clibrary/hh848630%28v=wps.630%29.aspx
https://technet.microsoft.com/en-us/library/hh848625%28v=wps.630%29.aspx
Unfortunately, if you are using an older version of Windows (such as Windows Server 2008 R2 or even Windows Server 2012), you will need to implement your own custom PowerShell script to accomplish this similar to what is implemented here:
http://www.orcsweb.com/blog/james/powershell-ing-on-windows-server-how-to-import-certificates-using-powershell/
No comments:
Post a Comment