This module includes DSC resources that simplify administration of certificates on a Windows Server

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name xCertificate -RequiredVersion

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name xCertificate -Version

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) 2015 Microsoft Corporation. All rights reserved.

Package Details



DesiredStateConfiguration DSC DSCResourceKit DSCResource


xCertificateExport xCertificateImport xCertReq xPfxImport xWaitForCertificateServices


This module has no dependencies.

Release Notes

- xCertReq:
 - Added FriendlyName parameter to xCertReq.
 - Changed exceptions to be raised using New-InvalidOperationException from PSDscResources.
 - Changed integration tests to use Config Data instead of value in config to support
   additional tests.
 - Converted unit tests to use Get-InvalidOperationRecord in CommonTestHelper.
 - Improved unit test style to match standard layout.
 - Minor corrections to style to be HQRM compliant.
 - Improved Verbose logging by writing all lines of CertReq.exe output.
 - Fixed CA auto-detection to work when CA name contains a space.
- Corrected all makrdown rule violations in README.MD.
- Added markdownlint.json file to enable line length rule checking in VSCode
 with [MarkdownLint extension](https://marketplace.visualstudio.com/items?itemName=DavidAnson.vscode-markdownlint)
- Added the VS Code PowerShell extension formatting settings that cause PowerShell
 files to be formatted as per the DSC Resource kit style guidelines.
- Fixed verbose preference not being passed to CertificateDsc.Common functions -
 fixes [Issue 70](https://github.com/PowerShell/xCertificate/issues/70).
- Converted all calls to `New-InvalidArgumentError` function to `New-InvalidArgumentException`
 found in `CertificateDsc.ResourceHelper` - fixes [Issue 68](https://github.com/PowerShell/xCertificate/issues/68)
- Replaced all calls to `Write-Error` with calls to `New-InvalidArgumentException`
 and `New-InvalidOperationException`
- xWaitForCertificateServices:
 - Added new resource.
- Cleaned up example format to meet style guidelines and changed examples to
 issue 2048 bit certificates.
- Fixed spelling error in xCertificateExport Issuer parameter description.


Version History

Version Downloads Last updated 19,367,385 2/8/2018 6,192,168 12/20/2017 9,461 8/23/2017 (current version) 24,972 7/12/2017 3,626 6/1/2017 2,785 5/31/2017 46,128 4/19/2017 14,189 3/8/2017 7,952 12/14/2016 3,433 11/2/2016 7,364 6/29/2016 910 5/18/2016 3,286 12/3/2015 1,141 7/24/2015 118 6/17/2015
Show more