This page is retired and no longer updated. Project documentation and download links are moved to their new home: PowerShell PKI Module.
Mohit
Mohit 22.05.2019 16:22 (GMT+3) Revoke-Certificate

It appears that installing RSAT isn't enough to get the above cmdlets working.

Vadims Podāns
Vadims Podāns 15.05.2019 20:08 (GMT+3) Get-CATemplate

One workaround is to import the PSPKI command with prefix. Syntax:

Import-Module PSPKI -Prefix PSPKI

after that, all commands from PSPKI module will have prefix "PSPKI", e.g. Get-PSPKICATemplate. You can choose any prefix you prefer.

another workaround is to use explicit module prefix when calling a command:

AdcsAdministration\Get-CATemplate # will execute Get-CATemplate from AdcsAdministration module

PSPKI\Get-CATemplate # will execute Get-CATemplate from PSPKI module

 

IvoR
IvoR 15.05.2019 19:48 (GMT+3) Get-CATemplate

The command "Get-CATemplate" is also available on the Microsoft side:

https://docs.microsoft.com/en-us/powershell/module/adcsadministration/get-catemplate

 

How can I use only the command from the ADCSadministration?

Vadims Podāns
Vadims Podāns 22.04.2019 12:36 (GMT+3) Approve-CertificateRequest

> How to provide credentials for the command, a'la Submit-CertificateRequest?

there is no way to provide custom credentials to management commands. Submit-CertificateRequest command supports custom credentials only when using CEP/CES enrollment web services. With DCOM custom credentials are not supported.

Stan
Stan 18.04.2019 11:21 (GMT+3) Approve-CertificateRequest

Hi Vadim,

How to provide credentials for the command, a'la Submit-CertificateRequest?