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

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy 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.



DesiredStateConfiguration DSC DSCResourceKit DSCResource


Test-CertificatePath Test-Thumbprint Find-Certificate Get-CdpContainer Find-CertificateAuthority Get-CertificateTemplateName Get-CertificateSan New-InvalidArgumentError Test-IsNanoServer New-InvalidArgumentException New-InvalidOperationException Get-LocalizedData Start-Win32Process Wait-Win32ProcessStart Wait-Win32ProcessStop Wait-Win32ProcessEnd


xCertificateExport xCertificateImport xCertReq xPfxImport


This module has no dependencies.

Release Notes

- Added mandatory properties for xPfxImport resource example.
- xCertReq:
 - Fixed issue where xCertReq does not identify when DNS Names in SANs are incorrect.
 - Added Certificate Authority auto-discovery to resource xCertReq.
 - Added SAN and certificate template name to xCertReq"s Get-TargetResource
 - Added new parameter UseMachineContext to be able to use CA templates that try to fill the subject alternative name
- CertificateDSc.Common:
 - Added function Get-CertificateTemplateName to retrieve template name
 - Added function Get-CertificateSan to retrieve subject alternative name
 - Added function Find-CertificateAuthority to enable auto-discovery

Version History

Version Downloads Last updated 8,564,010 2/8/2018 6,191,467 12/20/2017 8,506 8/23/2017 21,046 7/12/2017 3,465 6/1/2017 (current version) 2,771 5/31/2017 46,102 4/19/2017 14,176 3/8/2017 6,846 12/14/2016 3,176 11/2/2016 5,451 6/29/2016 899 5/18/2016 3,197 12/3/2015 1,129 7/24/2015 103 6/17/2015
Show less