VERBOSE: Loading module from path 'C:\Program Files\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1'.
Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown.At C:\Program Files\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:123 char:9
+ catch {Write-ErrorMessage -Source "CAPIUnavailable"}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotImplemented: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : NotImplementedException,Write-ErrorMessage
Comments: I am running Powershell v4 in Unrestricted mode on Windows 7 x64 as admin user after to have installed PSPKI, and I get exactly the same error while loading it : PS C:\Windows\system32> Import-Module PSPKI Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown. At C:\Users\rgoeneau\Documents\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:122 char:9 + catch {Write-ErrorMessage -Source "CAPIUnavailable"} + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotImplemented: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : NotImplementedException,Write-ErrorMessage If I execute again Import-Module PSPKI it does not display anything. But PSPKI features (for example New-SelfSignedCertificateEx) are unavailable. Thanks
Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown.At C:\Program Files\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:123 char:9
+ catch {Write-ErrorMessage -Source "CAPIUnavailable"}
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotImplemented: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : NotImplementedException,Write-ErrorMessage
Comments: I am running Powershell v4 in Unrestricted mode on Windows 7 x64 as admin user after to have installed PSPKI, and I get exactly the same error while loading it : PS C:\Windows\system32> Import-Module PSPKI Write-ErrorMessage : Exception of type 'Microsoft.PowerShell.Commands.WriteErrorException' was thrown. At C:\Users\rgoeneau\Documents\WindowsPowerShell\Modules\PSPKI\PSPKI.psm1:122 char:9 + catch {Write-ErrorMessage -Source "CAPIUnavailable"} + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotImplemented: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : NotImplementedException,Write-ErrorMessage If I execute again Import-Module PSPKI it does not display anything. But PSPKI features (for example New-SelfSignedCertificateEx) are unavailable. Thanks