Hello,
I am having an issue with Get-CATemplate as follows
first
$CA = Get-CertificationAuthority -Name MyEntDomainCA
$CA.GetType()
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True False CertificateAuthority System.Object
Then
$CA | Get-CATemplate
New-Object : Exception calling ".ctor" with "1" argument(s): "Unknown error (0x80005000)"
At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\PSPKI\Server\Get-CATemplate.ps1:14 char:14
+ New-Object <<<< PKI.CertificateServices.CATemplate -ArgumentList $CA
+ CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException
+ FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
Can anyone shed some light on the above please and how to resolve
I only have one instance of the PSPKI v2.6 loaded on Windows 2003 R2 CA with PowerShell v2
Thanks All
Ernie
↧