Skip to content
The SharePointDsc PowerShell module provides DSC resources that can be used to deploy and manage a SharePoint farm
C# PowerShell
Branch: dev
Clone or download
ykuijs Merge pull request #1120 from ronx/feature-1115-ca-auth
SPFarm: Add support for changing CA auth method
Latest commit 0399b10 Oct 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fixing deleted files Jan 29, 2019
.vscode Fixed issue 1087 + vscode launch settings Jul 5, 2019
Source/ProjectServerServices First working cut of SPProjectServerADResourcePoolSync - still needs … Aug 23, 2017
Tests spfarm support for changing ca auth method Oct 2, 2019
.MetaTestOptIn.json Added metatest optin Feb 23, 2017
.gitattributes Minor changes to bug fixes for join/create farm Jul 30, 2015


Discuss SharePointDsc now: Gitter

The SharePointDsc PowerShell module (formerly known as xSharePoint) provides DSC resources that can be used to deploy and manage a SharePoint farm.

Please leave comments, feature requests, and bug reports in the issues tab for this module.

Information about this module, new releases and tips/tricks will be shared on the SharePointDsc blog.

If you would like to modify SharePointDsc module, please feel free. Please refer to the Contribution Guidelines for information about style guides, testing and patterns for contributing to DSC resources.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.



Build status codecov

This is the branch containing the latest release - no contributions should be made directly to this branch.


Build status codecov

This is the development branch to which contributions should be proposed by contributors as pull requests. This development branch will periodically be merged to the master branch, and be released to PowerShell Gallery.


To manually install the module, download the source code and unzip the contents of the \Modules\SharePointDsc directory to the $env:ProgramFiles\WindowsPowerShell\Modules folder

To install from the PowerShell gallery using PowerShellGet (in PowerShell 5.0) run the following command:

Find-Module -Name SharePointDsc -Repository PSGallery | Install-Module

To confirm installation, run the below command and ensure you see the SharePoint DSC resoures available:

Get-DscResource -Module SharePointDsc


The minimum PowerShell version required is 4.0, which ships in Windows 8.1 or Windows Server 2012R2 (or higher versions). The preferred version is PowerShell 5.0 or higher, which ships with Windows 10 or Windows Server 2016. This is discussed on the SharePointDsc wiki, but generally PowerShell 5 will run the SharePoint DSC resources faster and with improved verbose level logging.

Documentation and examples

For a full list of resources in SharePointDsc and examples on their use, check out the SharePointDsc wiki. You can also review the "examples" directory in the SharePointDSC module for some general use scenarios for all of the resources that are in the module.


A full list of changes in each version can be found in the change log

You can’t perform that action at this time.