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 #1123 from NikCharlebois/dev
Update MSFT_SPFarmSolution.psm1
Latest commit 2a98f73 Oct 15, 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
Modules/SharePointDsc Update MSFT_SPFarmSolution.psm1 Oct 10, 2019
Source/ProjectServerServices First working cut of SPProjectServerADResourcePoolSync - still needs … Aug 23, 2017
Tests Update SharePointDsc.SPFarmSolution.Tests.ps1 Oct 11, 2019
.MetaTestOptIn.json Added metatest optin Feb 23, 2017
.codecov.yml Many updates and bugfixes, ready for testing Sep 28, 2017
.gitattributes Minor changes to bug fixes for join/create farm Jul 30, 2015
.gitignore gitignore and SP cmdlet path fix Feb 7, 2018
.markdownlint.json Final updates for markdownlint tests Nov 9, 2016
LICENSE Updated LICENSE file to match the Microsoft Open Source Team standard. Nov 8, 2018 Removal Waffle, due to shutdown of service Jun 4, 2019
appveyor.yml Fixing issues #1090 and #760, improving #1065 Jul 3, 2019
gulpfile.js Revert "Removing tests to see if AppVeyor issue is resolved" Oct 17, 2018
package.json Revert "Removing tests to see if AppVeyor issue is resolved" Oct 17, 2018


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.