Powershell to import certificate in store.
Quick go through of adding certificates to Trusted Root Store using powershell.
Code is as follows –
Param
(
[String]$certPath="your certificate path ",
[String]$certRootStore = “CurrentUser”,
[String]$certStore = "root", - this means we are adding certificate to Trusted Root Certification authorities
$pfxPass = "Your password"
)