From 432d5e49d5701d05eed4adb496a9461da1ffbbd3 Mon Sep 17 00:00:00 2001 From: Geoffroy Bonneville Date: Tue, 14 Nov 2017 16:26:44 +0000 Subject: [PATCH] Updated ImportCertificate.ps1 --- Scripts/ImportCertificate.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/ImportCertificate.ps1 b/Scripts/ImportCertificate.ps1 index a3bbb9a..7a5e6c7 100644 --- a/Scripts/ImportCertificate.ps1 +++ b/Scripts/ImportCertificate.ps1 @@ -4,4 +4,5 @@ param( [Parameter(Mandatory=$true)][string]$CertPath ) -Write-Host "Registering certificate: $CertPath" -CertStoreLocation cert:\CurrentUser\Root \ No newline at end of file +Write-Host "Registering certificate: $CertPath" +Import-Certificate -Filepath "$CertPath" -CertStoreLocation cert:\CurrentUser\Root \ No newline at end of file