SharePointDSC

3.0.0.0

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

Minimum PowerShell version

4.0

Installation Options

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

Install-Module -Name SharePointDSC -RequiredVersion 3.0.0.0

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

Author(s)

Microsoft Corporation

Copyright

(c) 2015-2018 Microsoft Corporation. All rights reserved.

Owners

Tags

DesiredStateConfiguration DSC DSCResourceKit DSCResource

Cmdlets

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 Convert-SPDscADGroupIDToName Convert-SPDscADGroupNameToID

Functions

Add-SPDSCUserToLocalAdmin Clear-SPDscKerberosToken Convert-SPDscADGroupIDToName Convert-SPDscADGroupNameToID Get-SPDscOSVersion Get-SPDSCAssemblyVersion Get-SPDSCBuildVersion Get-SPDscFarmAccount Get-SPDscFarmAccountName 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 Format-OfficePatchGUID ConvertTo-TwoDigitFlipString ConvertTo-ReverseString

DSCResources

SPAccessServiceApp SPAccessServices2010 SPAlternateUrl SPAntivirusSettings SPAppCatalog SPAppDomain SPAppManagementServiceApp SPAppStoreSettings SPBCSServiceApp SPBlobCacheSettings SPCacheAccounts SPConfigWizard SPContentDatabase SPDatabaseAAG SPDesignerSettings SPDiagnosticLoggingSettings SPDiagnosticsProvider SPDistributedCacheClientSettings SPDistributedCacheService SPExcelServiceApp SPFarm SPFarmAdministrators SPFarmPropertyBag SPFarmSolution SPFeature SPHealthAnalyzerRuleState SPInfoPathFormsServiceConfig SPInstall SPInstallLanguagePack SPInstallPrereqs SPIrmSettings SPLogLevel SPMachineTranslationServiceApp SPManagedAccount SPManagedMetaDataServiceApp SPManagedMetaDataServiceAppDefault SPManagedPath SPMinRoleCompliance SPOfficeOnlineServerBinding SPOutgoingEmailSettings SPPasswordChangeSettings SPPerformancePointServiceApp SPPowerPointAutomationServiceApp SPProductUpdate SPProjectServerAdditionalSettings SPProjectServerADResourcePoolSync SPProjectServerGlobalPermissions SPProjectServerGroup SPProjectServerLicense SPProjectServerPermissionMode SPProjectServerServiceApp SPProjectServerTimeSheetSettings SPProjectServerUserSyncSettings SPProjectServerWssSettings SPPublishServiceApplication SPQuotaTemplate SPRemoteFarmTrust SPSearchAuthoritativePage SPSearchContentSource SPSearchCrawlerImpactRule SPSearchCrawlMapping SPSearchCrawlRule SPSearchFileType SPSearchIndexPartition SPSearchManagedProperty SPSearchMetadataCategory SPSearchResultSource SPSearchServiceApp SPSearchTopology SPSecureStoreServiceApp SPSecurityTokenServiceConfig SPSelfServiceSiteCreation SPServiceAppPool SPServiceAppProxyGroup SPServiceAppSecurity SPServiceIdentity SPServiceInstance SPSessionStateService SPShellAdmins SPSite SPSiteUrl SPStateServiceApp SPSubscriptionSettingsServiceApp SPTimerJobState SPTrustedIdentityTokenIssuer SPTrustedIdentityTokenIssuerProviderRealms SPTrustedRootAuthority SPUsageApplication SPUserProfileProperty SPUserProfileSection SPUserProfileServiceApp SPUserProfileServiceAppPermissions SPUserProfileSyncConnection SPUserProfileSyncService SPVisioServiceApp SPWeb SPWebAppAuthentication SPWebAppBlockedFileTypes SPWebAppClientCallableSettings SPWebAppGeneralSettings SPWebApplication SPWebApplicationAppDomain SPWebApplicationExtension SPWebAppPeoplePickerSettings SPWebAppPermissions SPWebAppPolicy SPWebAppPropertyBag SPWebAppProxyGroup SPWebAppSiteUseAndDeletion SPWebAppSuiteBar SPWebAppThrottlingSettings SPWebAppWorkflowSettings SPWordAutomationServiceApp SPWorkflowService SPWorkManagementServiceApp

Dependencies

This module has no dependencies.

Release Notes


     * Changes to SharePointDsc
       * Added support for SharePoint 2019
       * Added CredSSP requirement to the Readme files
       * Added VSCode Support for running SharePoint 2019 unit tests
       * Removed the deprecated resources SPCreateFarm and SPJoinFarm (replaced
         in v2.0 by SPFarm)
     * SPBlobCacheSettings
       * Updated the Service Instance retrieval to be language independent
     * SPConfigWizard
       * Fixed check for Ensure=Absent in the Set method
     * SPInstallPrereqs
       * Added support for detecting updated installation of Microsoft Visual C++
         2015/2017 Redistributable (x64) for SharePoint 2016 and SharePoint 2019.
     * SPSearchContentSource
       * Added support for Business Content Source Type
     * SPSearchMetadataCategory
       * New resource added
     * SPSearchServiceApp
       * Updated resource to make sure the presence of the service app proxy is
         checked and created if it does not exist
     * SPSecurityTokenServiceConfig
       * The resource only tested for the Ensure parameter. Added more parameters
       * SPServiceAppSecurity
       * Added support for specifying array of access levels.
       * Changed implementation to use Grant-SPObjectSecurity with Replace switch
         instead of using a combination of Revoke-SPObjectSecurity and
         Grant-SPObjectSecurity
       * Added all supported access levels as available values.
       * Removed unknown access levels: Change Permissions, Write, and Read
     * SPUserProfileProperty
       * Removed obsolete parameters (MappingConnectionName, MappingPropertyName,
         MappingDirection) and introduced new parameter PropertyMappings
     * SPUserProfileServiceApp
       * Updated the check for successful creation of the service app to throw an
         error if this is not done correctly

     The following changes will break v2.x and earlier configurations that use these
     resources:

     * Implemented IsSingleInstance parameter to force that the resource can only
       be used once in a configuration for the following resources:
       * SPAntivirusSettings
       * SPConfigWizard
       * SPDiagnosticLoggingSettings
       * SPFarm
       * SPFarmAdministrators
       * SPInfoPathFormsServiceConfig
       * SPInstall
       * SPInstallPrereqs
       * SPIrmSettings
       * SPMinRoleCompliance
       * SPPasswordChangeSettings
       * SPProjectServerLicense
       * SPSecurityTokenServiceConfig
       * SPShellAdmin
     * Standardized Url/WebApplication parameter to default WebAppUrl parameter
       for the following resources:
       * SPDesignerSettings
       * SPFarmSolution
       * SPSelfServiceSiteCreation
       * SPWebAppBlockedFileTypes
       * SPWebAppClientCallableSettings
       * SPWebAppGeneralSettings
       * SPWebApplication
       * SPWebApplicationAppDomain
       * SPWebAppSiteUseAndDeletion
       * SPWebAppThrottlingSettings
       * SPWebAppWorkflowSettings
     * Introduced new mandatory parameters
       * SPSearchResultSource: Added option to create Result Sources at different scopes.
       * SPServiceAppSecurity: Changed parameter AccessLevel to AccessLevels in
         MSFT_SPServiceAppSecurityEntry to support array of access levels.
       * SPUserProfileProperty: New parameter PropertyMappings
     

Version History

Version Downloads Last updated
3.6.0.0 12,047 8/12/2019
3.5.0.0 9,351 6/26/2019
3.4.0.0 8,278 5/15/2019
3.3.0.0 15,863 4/3/2019
3.2.0.0 34,054 2/20/2019
3.1.0.0 4,151 11/29/2018
3.0.0.0 (current version) 1,317 11/12/2018
2.6.0.0 2,722 10/25/2018
2.5.0.0 9,995 9/5/2018
2.4.0.0 10,156 7/25/2018
2.3.0.0 3,568 6/13/2018
2.2.0.0 8,027 3/22/2018
2.1.0.0 2,983 2/8/2018
2.0.0.0 1,737 12/20/2017
1.9.0.0 11,790 10/5/2017
1.8.0.0 7,247 7/12/2017
1.7.0.0 1,266 5/31/2017
1.6.0.0 12,655 3/8/2017
1.5.0.0 1,434 12/14/2016
1.4.0.0 668 11/2/2016
1.3.0.0 853 9/21/2016
1.2.0.0 475 8/10/2016
1.1.0.0 576 6/29/2016
1.0.0.0 272 6/7/2016
Show less