This DSC module is used to deploy and configure SharePoint Server 2013 and 2016, and covers a wide range of areas including web apps, service apps and farm configuration.

Minimum PowerShell version


There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

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

Install-Module -Name SharePointDSC -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-2017 Microsoft Corporation. All rights reserved.



DesiredStateConfiguration DSC DSCResourceKit DSCResource


Invoke-SPDSCCommand Get-SPDSCInstalledProductVersion Get-SPDSCContentService Rename-SPDSCParamValue Add-SPDSCUserToLocalAdmin Remove-SPDSCUserToLocalAdmin Test-SPDSCObjectHasProperty Test-SPDSCRunAsCredential Test-SPDSCUserIsLocalAdmin Test-SPDscParameterState Test-SPDSCIsADUser Test-SPDSCRunningAsFarmAccount Set-SPDscObjectPropertyIfValuePresent Get-SPDSCUserProfileSubTypeManager Get-SPDscOSVersion Get-SPDSCRegistryKey Resolve-SPDscSecurityIdentifier Get-SPDscFarmProductsInfo Get-SPDscFarmVersionInfo


Add-SPDSCUserToLocalAdmin Get-SPDscOSVersion Get-SPDSCAssemblyVersion Get-SPDscFarmVersionInfo Get-SPDscFarmProductsInfo Get-SPDscRegProductsInfo Get-SPDSCRegistryKey Get-SPDSCServiceContext Get-SPDSCContentService Get-SPDSCUserProfileSubTypeManager Get-SPDSCInstalledProductVersion Invoke-SPDSCCommand Rename-SPDSCParamValue Remove-SPDSCUserToLocalAdmin Resolve-SPDscSecurityIdentifier Test-SPDSCObjectHasProperty Test-SPDSCRunAsCredential Test-SPDSCRunningAsFarmAccount Test-SPDscParameterState Test-SPDSCUserIsLocalAdmin Test-SPDSCIsADUser Set-SPDscObjectPropertyIfValuePresent Remove-SPDSCGenericObject


SPAccessServiceApp SPAccessServices2010 SPAlternateUrl SPAntivirusSettings SPAppCatalog SPAppDomain SPAppManagementServiceApp SPAppStoreSettings SPBCSServiceApp SPBlobCacheSettings SPCacheAccounts SPConfigWizard SPContentDatabase SPCreateFarm SPDatabaseAAG SPDesignerSettings SPDiagnosticLoggingSettings SPDistributedCacheService SPExcelServiceApp SPFarm SPFarmAdministrators SPFarmPropertyBag SPFarmSolution SPFeature SPHealthAnalyzerRuleState SPInstall SPInstallLanguagePack SPInstallPrereqs SPIrmSettings SPJoinFarm SPMachineTranslationServiceApp SPManagedAccount SPManagedMetaDataServiceApp SPManagedPath SPOfficeOnlineServerBinding SPOutgoingEmailSettings SPPasswordChangeSettings SPPerformancePointServiceApp SPPowerPointAutomationServiceApp SPProductUpdate SPPublishServiceApplication SPQuotaTemplate SPRemoteFarmTrust SPSearchAuthoritativePage SPSearchContentSource SPSearchCrawlerImpactRule SPSearchCrawlMapping SPSearchCrawlRule SPSearchFileType SPSearchIndexPartition SPSearchResultSource SPSearchServiceApp SPSearchTopology SPSecureStoreServiceApp SPServiceAppPool SPServiceAppProxyGroup SPServiceAppSecurity SPServiceInstance SPSessionStateService SPShellAdmins SPSite SPStateServiceApp SPSubscriptionSettingsServiceApp SPTimerJobState SPTrustedIdentityTokenIssuer SPTrustedRootAuthority SPUsageApplication SPUserProfileProperty SPUserProfileSection SPUserProfileServiceApp SPUserProfileServiceAppPermissions SPUserProfileSyncConnection SPUserProfileSyncService SPVisioServiceApp SPWeb SPWebAppBlockedFileTypes SPWebAppGeneralSettings SPWebApplication SPWebApplicationAppDomain SPWebApplicationExtension SPWebAppPermissions SPWebAppPolicy SPWebAppProxyGroup SPWebAppSiteUseAndDeletion SPWebAppThrottlingSettings SPWebAppWorkflowSettings SPWordAutomationServiceApp SPWorkManagementServiceApp


This module has no dependencies.

Release Notes

* Update SPSearchIndexPartition made ServiceAppName as a Key
* New resouce: SPTrustedRootAuthority
* Update SPFarmSolution to eject from loop after 30m.
* New resource: SPMachineTranslationServiceApp
* New resource: SPPowerPointAutomationServiceApp
* Bugfix in SPSearchFileType  made ServiceAppName a key property.
* New resource: SPWebApplicationExtension
* Added new resource SPAccessServices2010
* Added MSFT_SPSearchCrawlMapping Resource to manage Crawl Mappings for
 Search Service Application
* Added new resource SPSearchAuthoritativePage
* Bugfix in SPWebAppThrottlingSettings for setting large list window time.
* Fix typo in method Get-TargetResource of SPFeature
* Fix bug in SPManagedAccount not returning the correct account name value
* Fix typo in method Get-TargetResource of SPSearchIndexPartition
* Update documentation of SPInstallLanguagePack to add guidance on package
 change in SP2016
* Added returning the required RunCentralAdmin parameter to
 Get-TargetResource in SPFarm
* Added web role check for SPBlobCacheSettings
* Improved error message when rule could not be found in
* Extended the documentation to specify that the default value of Ensure
 is Present
* Added documentation about the user of Host Header Site Collections and
 the HostHeader parameter in SPWebApplication
* Fixed missing brackets in SPWebAppPolicy module file
* Fixed issue with SPSecureStoreServiceApp not returning database information
* Fixed issue with SPManagedMetadataServiceApp not returning ContentTypeHubUrl
 in SP2016
* Updated SPTrustedIdentityTokenIssuer to allow to specify the signing
 certificate from file path as an alternative to the certificate store
* New resource: SPSearchCrawlerImpactRule
* Fixed issue in SPSite where the used template wasn't returned properly
* Fixed issue in SPWebApplicationGeneralSettings which didn't return the
 security validation timeout properly
* Fixed bug in SPCreateFarm and SPJoinFarm when a SharePoint Server is already
 joined to a farm
* Bugfix in SPContentDatabase for setting WarningSiteCount as 0.
* Fixing verbose message that identifies SP2016 as 2013 in MSFT_SPFarm
* Fixed SPProductUpdate looking for OSearch15 in SP2016 when stopping services
* Added TermStoreAdministrators property to SPManagedMetadataServiceApp
* Fixed an issue in SPSearchTopology that would leave a corrupt topology in
 place if a server was removed and re-added to a farm
* Fixed bug in SPFarm that caused issues with database names that have dashes
 in the names

Version History

Version Downloads Last updated
4.2.0 3,981 6/14/2020
4.2.0-previe... 1 6/13/2020
4.1.0 1,407 6/10/2020
4.1.0-previe... 1 6/9/2020
4.1.0-previe... 5 6/2/2020
4.1.0-previe... 8 5/11/2020
4.0.1-previe... 4 5/5/2020
4.0.0 6,734 4/28/2020
4.0.0-previe... 7 4/28/2020
4.0.0-previe... 7 4/28/2020
4.0.0-previe... 10 3/31/2020
4.0.0-previe... 3 3/27/2020
3.9.0-previe... 5 3/19/2020
3.8.0 11,638 2/27/2020
3.8.0-previe... 5 2/25/2020
3.8.0-previe... 7 2/18/2020
3.8.0-previe... 3 2/18/2020
3.8.0-previe... 11 1/24/2020
3.8.0-previe... 3 1/17/2020
3.8.0-previe... 5 1/16/2020 22,956 10/30/2019 15,472 8/12/2019 9,399 6/26/2019 9,035 5/15/2019 16,373 4/3/2019 34,071 2/20/2019 4,157 11/29/2018 1,448 11/12/2018 2,725 10/25/2018 10,030 9/5/2018 10,156 7/25/2018 3,571 6/13/2018 8,033 3/22/2018 2,983 2/8/2018 2,370 12/20/2017 11,827 10/5/2017 7,252 7/12/2017 (current version) 1,266 5/31/2017 12,655 3/8/2017 1,455 12/14/2016 668 11/2/2016 853 9/21/2016 475 8/10/2016 576 6/29/2016 272 6/7/2016
Show less