Files
modernkeepass/Scripts/ImportCertificate.ps1

9 lines
277 B
PowerShell
Raw Normal View History

2017-11-14 17:03:24 +01:00
# Enable -Verbose option
[CmdletBinding()]
param(
[string]$CertPath = "$Env:BUILD_ARTIFACTSTAGINGDIRECTORY",
[Parameter(Mandatory=$true)][string]$FileName
)
2017-11-14 16:10:28 +00:00
Write-Host "Registering certificate: $CertPath\$FileName"
2017-11-14 17:03:24 +01:00
Import-Certificate -Filepath "$CertPath\$FileName"