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


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 19,367,382 2/8/2018 6,192,168 12/20/2017 9,461 8/23/2017 24,972 7/12/2017 3,626 6/1/2017 (current version) 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 less