OK so I have installed the module on my local machine, and now want to import it. I get the following error when I try to Import as described in the documentation using the "Import-Module PSPKI" command (where xxx.xxx is my user name):
Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown.
At C:\Users\xxx.xxx\Documents\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:122 char:9
Thank you.
Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown.
At C:\Users\xxx.xxx\Documents\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:122 char:9
- catch {Write-ErrorMessage -Source "CAPIUnavailable"}
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotImplemented: (:) [Write-Error], WriteErrorException
-
FullyQualifiedErrorId : NotImplementedException,Write-ErrorMessage
Thank you.