Comments on this page are supposed to improve article content and no technical support is provided. For technical questions, please visit project home page at: GitHub

Start guide:

Run Windows PowerShell and type the following command:

Import-Module PSPKI

After this you can explore available commands:

Get-Command -Module PSPKI

Getting some help

If you don’t know how to use certain command and/or get help about certain parameters, examples you may run the following command:

# retrieve basic help
Get-Help CommandName
# retrieve detailed and full help content
Get-Help CommandName –Detailed
Get-Help CommandName –Full
# see help online:
Get-Help CommandName -Online
# retrieve help for particular parameter:
Get-Help CommandName –Parameter ParameterName
# retrieve command usage examples:
Get-Help CommandName –Examples 

Useful tricks

Certain commands display only subset of predefined properties (like Get-CertificationAuthority). To show all of them use “Format-List *” command as follows:

Get-CertificationAuthority | Format-List *

Certain objects contains multiple values and aren’t fully shown (for example, Get-PolicyModuleFlag). To expand particular property use Select-Object command as follows:

Get-CertificationAuthority -Name MyCA | Get-PolicyModuleFlag | Select -ExpandProperty Flags

Even if you think that commands are too long for typing don’t forget about PowerShell command tab completion. You can type a part of command name and press tab button (for example Get-Ce<tab>). The same works for parameters (Get-Ce<tab> -N<tab>).

Module removal

If you wish to remove module from current PowerShell session run the following command:

Remove-Module PSPKI

However this command just unload module from a current session. You may re-load it by using Import-Module command.
To completely remove module from the system, uninstall installation package.

Share this article:


Sam 06.07.2016 17:39 (GMT+3) Start guide


Is there any more setup then installing the module and what is listed above? I've tried eveything and cannot get any output from Get-CertificationAuthority

Ive treid every permeatation off the CA servers name.... as in:

  • FQDN of the CA Server
  • Name of the CA
  • FQDN of the CA Server \ CA Name
  • Specifying no name
  • Piping it in to Get-IssuedRequest

When I specifying nothing it says Network Path not found.... when I specify the FQDN or CA name it doesn't error but it doesnt return anything.. even with " | FL * " at the end or piped into another command


pablo 13.03.2019 16:30 (GMT+3) Start guide

Hola buen dia.

Estuve probando su toturial pero no funciono , no es claro donde ubicar el archivo, si hay que descomprimirlo ? agradezco su informacion

Post your comment:

Please, solve this little equation and enter result below. Captcha