It appears that installing RSAT isn't enough to get the above cmdlets working.
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
The command "Get-CATemplate" is also available on the Microsoft side:
How can I use only the command from the ADCSadministration?
> 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.
How to provide credentials for the command, a'la Submit-CertificateRequest?
© 2008 - 2019 - Sysadmins LV. All rights reserved