sharepointdsc
Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
- Puppet >= 7.0.0 < 9.0.0
Start using this module
Add this module to your Puppetfile:
mod 'dsc-sharepointdsc', '5.5.0-0-1'
Learn more about managing modules with a PuppetfileDocumentation
sharepointdsc
Table of Contents
Description
This is an auto-generated module, using the Puppet DSC Builder to vendor and expose the SharePointDsc PowerShell module's DSC resources as Puppet resources. The functionality of this module comes entirely from the vendored PowerShell resources, which are pinned at v5.5.0. The PowerShell module describes itself like this:
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.
For information on troubleshooting to determine whether any encountered problems are with the Puppet wrapper or the DSC resource, see the troubleshooting section below.
Requirements
This module, like all auto-generated Puppetized DSC modules, relies on two important technologies in the Puppet stack: the Puppet Resource API and the puppetlabs/pwshlib Puppet module.
The Resource API provides a simplified option for writing types and providers and is responsible for how this module is structured. The Resource API ships inside of Puppet starting with version 6. While it is technically possible to add the Resource API functionality to Puppet 5.5.x, the DSC functionality has not been tested in this setup. For more information on the Resource API, review the documentation.
The module also depends on the pwshlib module. This Puppet module includes two important things: the ruby-pwsh library for running PowerShell code from ruby and the base provider for DSC resources, which this module leverages.
All of the actual work being done to call the DSC resources vendored with this module is in this file from the pwshlib module. This is important for troubleshooting and bug reporting, but doesn't impact your use of the module except that the end result will be that nothing works, as the dependency is not installed alongside this module!
Long File Path Support
Several PowerShell modules with DSC Resources end up with very long file paths once vendored, many of which exceed the 260 character limit for file paths. Luckily in Windows 10 (build 1607+), Windows Server 2016 (build 1607+), and Windows Server 2019 there is now an option for supporting long file paths transparently!
We strongly recommend enabling long file path support on any machines using this module to avoid path length issues.
You can set this value using the Puppet registry_value
resource:
registry_value { 'HKLM\System\CurrentControlSet\Control\FileSystem\LongPathsEnabled':
ensure => 'present',
data => [1],
provider => 'registry',
type => 'dword',
}
You can also set this value outside of Puppet by following the Microsoft documentation.
Usage
You can specify any of the DSC resources from this module like a normal Puppet resource in your manifests. The examples below use DSC resources from from the PowerShellGet repository, regardless of what module you're looking at here; the syntax, not the specifics, is what's important.
For reference documentation about the DSC resources exposed in this module, see the Reference Forge tab, or the REFERENCE.md file.
# Include a meaningful title for your resource declaration
dsc_psrepository { 'Add team module repo':
dsc_name => 'foo',
dsc_ensure => present,
# This location is nonsense, can be any valid folder on your
# machine or in a share, any location the SourceLocation param
# for the DSC resource will accept.
dsc_sourcelocation => 'C:\Program Files',
# You must always pass an enum fully lower-cased;
# Puppet is case sensitive even when PowerShell isn't
dsc_installationpolicy => untrusted,
}
dsc_psrepository { 'Trust public gallery':
dsc_name => 'PSGallery',
dsc_ensure => present,
dsc_installationpolicy => trusted,
}
dsc_psmodule { 'Make Ruby manageable via uru':
dsc_name => 'RubyInstaller',
dsc_ensure => present,
}
Credentials
Credentials are always specified as a hash of the username and password for the account. The password must use the Puppet Sensitive type; this ensures that logs and reports redact the password, displaying it instead as <Sensitive [value redacted]>.
dsc_psrepository { 'PowerShell Gallery':
dsc_name => 'psgAllery',
dsc_installationpolicy => 'Trusted',
dsc_psdscrunascredential => {
user => 'apple',
password => Sensitive('foobar'),
},
}
Class-Based Resources
Class-based DSC Resources can be used like any other DSC Resource in this module, with one important note:
Due to a bug in calling class-based DSC Resources by path instead of module name, each call to Invoke-DscResource
needs to temporarily munge the system-level environment variable for PSModulePath
;
the variable is reset prior to the end of each invocation.
CIM Instances
Because the CIM instances for DSC resources are fully mapped, the types actually explain fairly precisely what the shape of each CIM instance has to be - and, moreover, the type definition means that you get checking at catalog compile time. Puppet parses CIM instances are structured hashes (or arrays of structured hashes) that explicitly declare their keys and the valid types of values for each key.
So, for the dsc_accesscontrolentry
property of the dsc_ntfsaccessentry
type, which has a MOF type of NTFSAccessControlList[]
, Puppet defines the CIM instance as:
Array[Struct[{
accesscontrolentry => Array[Struct[{
accesscontroltype => Enum['Allow', 'Deny'],
inheritance => Enum['This folder only', 'This folder subfolders and files', 'This folder and subfolders', 'This folder and files', 'Subfolders and files only', 'Subfolders only', 'Files only'],
ensure => Enum['Present', 'Absent'],
cim_instance_type => 'NTFSAccessControlEntry',
filesystemrights => Array[Enum['AppendData', 'ChangePermissions', 'CreateDirectories', 'CreateFiles', 'Delete', 'DeleteSubdirectoriesAndFiles', 'ExecuteFile', 'FullControl', 'ListDirectory', 'Modify', 'Read', 'ReadAndExecute', 'ReadAttributes', 'ReadData', 'ReadExtendedAttributes', 'ReadPermissions', 'Synchronize', 'TakeOwnership', 'Traverse', 'Write', 'WriteAttributes', 'WriteData', 'WriteExtendedAttributes']]
}]],
forceprincipal => Optional[Boolean],
principal => Optional[String],
}]]
A valid example of that in a puppet manifest looks like this:
dsc_accesscontrollist => [
{
accesscontrolentry => [
{
accesscontroltype => 'Allow',
inheritance => 'This folder only',
ensure => 'Present',
filesystemrights => 'ChangePermissions',
cim_instance_type => 'NTFSAccessControlEntry',
},
],
principal => 'veryRealUserName',
},
]
For more information about using a built module, check out our narrative documentation.
Properties
Note that the only properties specified in a resource declaration which are passed to Invoke-Dsc are all prepended with dsc.
If a property does _not start with dsc_ it is used to control how Puppet interacts with DSC/other Puppet resources - for example,
specifying a unique name for the resource for Puppet to distinguish between declarations or Puppet metaparameters (notifies,
before, etc).
Validation Mode
By default, these resources use the property validation mode, which checks whether or not the resource is in the desired state the same way most Puppet resources are validated;
by comparing the properties returned from the system with those specified in the manifest.
Sometimes, however, this is insufficient;
many DSC Resources return data that does not compare properly to the desired state (some are missing properties, others are malformed, some simply cannot be strictly compared).
In these cases, you can set the validation mode to resource
, which falls back on calling Invoke-DscResource
with the Test
method and trusts that result.
When using the resource
validation mode, the resource is tested once and will then treat all properties of that resource as in sync (if the result returned true
) or not in sync.
This loses the granularity of change reporting for the resource but prevents flapping and unexpected behavior.
# This will flap because the DSC resource never returns name in SecurityPolicyDsc v2.10.0.0
dsc_securityoption { 'Enforce Anonoymous SID Translation':
dsc_name => 'Enforce Anonymous SID Translation',
dsc_network_access_allow_anonymous_sid_name_translation => 'Disabled',
}
# This will idempotently apply
dsc_psrepository { 'PowerShell Gallery':
validation_mode => 'resource',
dsc_name => 'Enforce Anonymous SID Translation',
dsc_network_access_allow_anonymous_sid_name_translation => 'Disabled',
}
It is important to note that this feature is only supported with a version of puppetlabs-pwshlib
equal to or higher than 0.9.0
, in which the supporting code for the DSC Base Provider to implement custom insync was shipped.
Finally, while this module's metadata says that the supported Puppet versions are 6.0.0 and up, the implementation of the validation_mode
parameter relies on the custom_insync
feature of the Puppet Resource API.
The custom_insync
feature first shipped in the puppet-resource_api
version 1.8.14
, which itself is only included in Puppet versions equal to or newer than 6.23.0
and 7.8.0
for the 6x and 7x platforms respectively.
Using this module against older Puppet versions will result in a warning (example below) and only use the default property-by-property change reporting, regardless of the setting of validation_mode
.
Warning: Unknown feature detected: ["custom_insync"]
Troubleshooting
In general, there are three broad categories of problems:
- Problems with the way the underlying DSC resource works.
- Problems with the type definition, where you can't specify a valid set of properties for the DSC resource
- Problems with calling the underlying DSC resource - the parameters aren't being passed correctly or the resource can't be found
Unfortunately, problems with the way the underlying DSC resource works are something we can't help directly with. You'll need to file an issue with the upstream maintainers for the PowerShell module.
Problems with the type definition are when a value that should be valid according to the DSC resource's documentation and code is not accepted by the Puppet wrapper. If and when you run across one of these, please file an issue with the Puppet DSC Builder; this is where the conversion happens and once we know of a problem we can fix it and regenerate the Puppet modules. To help us identify the issue, please specify the DSC module, version, resource, property and values that are giving you issues. Once a fix is available we will regenerate and release updated versions of this Puppet wrapper.
Problems with calling the underlying DSC resource become apparent by comparing <value passed in in puppet>
with <value received by DSC>
.
In this case, please file an issue with the puppetlabs/pwshlib module, which is where the DSC base provider actually lives.
We'll investigate and prioritize a fix and update the puppetlabs/pwshlib module.
Updating to the pwshlib version with the fix will immediately take advantage of the improved functionality without waiting for this module to be reconverted and published.
For specific information on troubleshooting a generated module, check the troubleshooting guide for the puppet.dsc module.
Known Limitations
-
Currently, because of the way Puppet caches files on agents, use of the legacy
puppetlabs-dsc
module is not compatible with this or any auto-generated DSC module. Inclusion of both will lead to pluginsync conflicts. -
Right now, if you have the same version of a PowerShell module with class-based DSC Resources in your PSModulePath as vendored in a Puppetized DSC Module, you cannot use those class-based DSC Resources from inside of Puppet due to a bug in DSC which prevents using a module by path reference instead of name. Instead, DSC will see that there are two DSC Resources for the same module and version and then error out.
-
When PowerShell Script Block Logging is enabled, data marked as sensitive in your manifest may appear in these logs as plain text. It is highly recommended, by both Puppet and Microsoft, that you also enable Protected Event Logging alongside this to encrypt the logs to protect this information.
Configuring the LCM
In order for a Puppetized DSC module to function, the DSC Local Configuration Manager (LCM) RefreshMode
must be set to either Push
or Disabled
.
The default value for RefreshMode
in WMF 5.0 and WMF 5.1 is Push
- so if it has not been set to anything else then there is no action needed on your part.
However if the value of the LCM has been set to anything other than Push
then the module will not function and so the value must either be changed back or disabled.
The Puppetized DSC modules use the Invoke-DscResource
cmdlet to invoke DSC Resources of the target machine.
If the RefreshMode
is set to Pull
, DSC Resources will only run from a DSC Pull Server - in this setting DSC does not allow any DSC Resources to be run interactively on the host.
Module Installation
If you're using this module with Puppet Enterprise and Code Manager, everything should "just work" - no errors or issues acquiring and deploying this or any Puppetized DSC module to nodes.
Unfortunately, due a bug in minitar which prevents it from unpacking archives with long file paths, both r10k
and serverless Puppet (via puppet module install
) methods of installing modules with long path names will fail.
In short, minitar is unable to unpack modules that contain long file paths (though it can create them).
As a workaround, you can retrieve DSC modules from the forge via PowerShell and 7zip:
$ModuleAuthor = 'dsc'
$ModuleName = 'xremotedesktopsessionhost'
$ModuleVersion = '2.0.0-0-1'
$ArchiveFileName = "$ModuleAuthor-$ModuleName-$ModuleVersion.tar.gz"
$DownloadUri = "https://forge.puppet.com/v3/files/$ArchiveFileName"
# Download the module tar.gz to the current directory
Invoke-WebRequest -Uri $DownloadUri -OutFile ./$ArchiveFileName
# Use 7zip to extract the module to the current directory
& 7z x $ArchiveFileName -so | & 7z x -aoa -si -ttar
Reference
Table of Contents
Resource types
dsc_spaccessserviceapp
: The DSC SPAccessServiceApp resource type. Automatically generated from version 5.5.0dsc_spaccessservices2010
: The DSC SPAccessServices2010 resource type. Automatically generated from version 5.5.0dsc_spalternateurl
: The DSC SPAlternateUrl resource type. Automatically generated from version 5.5.0dsc_spantivirussettings
: The DSC SPAntivirusSettings resource type. Automatically generated from version 5.5.0dsc_spappcatalog
: The DSC SPAppCatalog resource type. Automatically generated from version 5.5.0dsc_spappdomain
: The DSC SPAppDomain resource type. Automatically generated from version 5.5.0dsc_spappmanagementserviceapp
: The DSC SPAppManagementServiceApp resource type. Automatically generated from version 5.5.0dsc_spappstoresettings
: The DSC SPAppStoreSettings resource type. Automatically generated from version 5.5.0dsc_spauthenticationrealm
: The DSC SPAuthenticationRealm resource type. Automatically generated from version 5.5.0dsc_spazureaccesscontrolserviceappproxy
: The DSC SPAzureAccessControlServiceAppProxy resource type. Automatically generated from version 5.5.0dsc_spbcsserviceapp
: The DSC SPBCSServiceApp resource type. Automatically generated from version 5.5.0dsc_spblobcachesettings
: The DSC SPBlobCacheSettings resource type. Automatically generated from version 5.5.0dsc_spcacheaccounts
: The DSC SPCacheAccounts resource type. Automatically generated from version 5.5.0dsc_spcertificate
: The DSC SPCertificate resource type. Automatically generated from version 5.5.0dsc_spcertificatesettings
: The DSC SPCertificateSettings resource type. Automatically generated from version 5.5.0dsc_spconfigwizard
: The DSC SPConfigWizard resource type. Automatically generated from version 5.5.0dsc_spcontentdatabase
: The DSC SPContentDatabase resource type. Automatically generated from version 5.5.0dsc_spdatabaseaag
: The DSC SPDatabaseAAG resource type. Automatically generated from version 5.5.0dsc_spdesignersettings
: The DSC SPDesignerSettings resource type. Automatically generated from version 5.5.0dsc_spdiagnosticloggingsettings
: The DSC SPDiagnosticLoggingSettings resource type. Automatically generated from version 5.5.0dsc_spdiagnosticsprovider
: The DSC SPDiagnosticsProvider resource type. Automatically generated from version 5.5.0dsc_spdistributedcacheclientsettings
: The DSC SPDistributedCacheClientSettings resource type. Automatically generated from version 5.5.0dsc_spdistributedcacheservice
: The DSC SPDistributedCacheService resource type. Automatically generated from version 5.5.0dsc_spdocicon
: The DSC SPDocIcon resource type. Automatically generated from version 5.5.0dsc_spexcelserviceapp
: The DSC SPExcelServiceApp resource type. Automatically generated from version 5.5.0dsc_spfarm
: The DSC SPFarm resource type. Automatically generated from version 5.5.0dsc_spfarmadministrators
: The DSC SPFarmAdministrators resource type. Automatically generated from version 5.5.0dsc_spfarmpropertybag
: The DSC SPFarmPropertyBag resource type. Automatically generated from version 5.5.0dsc_spfarmsolution
: The DSC SPFarmSolution resource type. Automatically generated from version 5.5.0dsc_spfeature
: The DSC SPFeature resource type. Automatically generated from version 5.5.0dsc_sphealthanalyzerrulestate
: The DSC SPHealthAnalyzerRuleState resource type. Automatically generated from version 5.5.0dsc_spincomingemailsettings
: The DSC SPIncomingEmailSettings resource type. Automatically generated from version 5.5.0dsc_spinfopathformsserviceconfig
: The DSC SPInfoPathFormsServiceConfig resource type. Automatically generated from version 5.5.0dsc_spinstall
: The DSC SPInstall resource type. Automatically generated from version 5.5.0dsc_spinstalllanguagepack
: The DSC SPInstallLanguagePack resource type. Automatically generated from version 5.5.0dsc_spinstallprereqs
: The DSC SPInstallPrereqs resource type. Automatically generated from version 5.5.0dsc_spirmsettings
: The DSC SPIrmSettings resource type. Automatically generated from version 5.5.0dsc_sploglevel
: The DSC SPLogLevel resource type. Automatically generated from version 5.5.0dsc_spmachinetranslationserviceapp
: The DSC SPMachineTranslationServiceApp resource type. Automatically generated from version 5.5.0dsc_spmanagedaccount
: The DSC SPManagedAccount resource type. Automatically generated from version 5.5.0dsc_spmanagedmetadataserviceapp
: The DSC SPManagedMetaDataServiceApp resource type. Automatically generated from version 5.5.0dsc_spmanagedmetadataserviceappdefault
: The DSC SPManagedMetaDataServiceAppDefault resource type. Automatically generated from version 5.5.0dsc_spmanagedpath
: The DSC SPManagedPath resource type. Automatically generated from version 5.5.0dsc_spminrolecompliance
: The DSC SPMinRoleCompliance resource type. Automatically generated from version 5.5.0dsc_spoappprincipalmgmtserviceappproxy
: The DSC SPOAppPrincipalMgmtServiceAppProxy resource type. Automatically generated from version 5.5.0dsc_spofficeonlineserverbinding
: The DSC SPOfficeOnlineServerBinding resource type. Automatically generated from version 5.5.0dsc_spofficeonlineserversupressionsettings
: The DSC SPOfficeOnlineServerSupressionSettings resource type. Automatically generated from version 5.5.0dsc_spoutgoingemailsettings
: The DSC SPOutgoingEmailSettings resource type. Automatically generated from version 5.5.0dsc_sppasswordchangesettings
: The DSC SPPasswordChangeSettings resource type. Automatically generated from version 5.5.0dsc_spperformancepointserviceapp
: The DSC SPPerformancePointServiceApp resource type. Automatically generated from version 5.5.0dsc_sppowerpointautomationserviceapp
: The DSC SPPowerPointAutomationServiceApp resource type. Automatically generated from version 5.5.0dsc_spproductupdate
: The DSC SPProductUpdate resource type. Automatically generated from version 5.5.0dsc_spprojectserveradditionalsettings
: The DSC SPProjectServerAdditionalSettings resource type. Automatically generated from version 5.5.0dsc_spprojectserveradresourcepoolsync
: The DSC SPProjectServerADResourcePoolSync resource type. Automatically generated from version 5.5.0dsc_spprojectserverglobalpermissions
: The DSC SPProjectServerGlobalPermissions resource type. Automatically generated from version 5.5.0dsc_spprojectservergroup
: The DSC SPProjectServerGroup resource type. Automatically generated from version 5.5.0dsc_spprojectserverlicense
: The DSC SPProjectServerLicense resource type. Automatically generated from version 5.5.0dsc_spprojectserverpermissionmode
: The DSC SPProjectServerPermissionMode resource type. Automatically generated from version 5.5.0dsc_spprojectserverserviceapp
: The DSC SPProjectServerServiceApp resource type. Automatically generated from version 5.5.0dsc_spprojectservertimesheetsettings
: The DSC SPProjectServerTimeSheetSettings resource type. Automatically generated from version 5.5.0dsc_spprojectserverusersyncsettings
: The DSC SPProjectServerUserSyncSettings resource type. Automatically generated from version 5.5.0dsc_spprojectserverwsssettings
: The DSC SPProjectServerWssSettings resource type. Automatically generated from version 5.5.0dsc_sppublishserviceapplication
: The DSC SPPublishServiceApplication resource type. Automatically generated from version 5.5.0dsc_spquotatemplate
: The DSC SPQuotaTemplate resource type. Automatically generated from version 5.5.0dsc_spremotefarmtrust
: The DSC SPRemoteFarmTrust resource type. Automatically generated from version 5.5.0dsc_spsearchauthoritativepage
: The DSC SPSearchAuthoritativePage resource type. Automatically generated from version 5.5.0dsc_spsearchcontentsource
: The DSC SPSearchContentSource resource type. Automatically generated from version 5.5.0dsc_spsearchcrawldatabase
: The DSC SPSearchCrawlDatabase resource type. Automatically generated from version 5.5.0dsc_spsearchcrawlerimpactrule
: The DSC SPSearchCrawlerImpactRule resource type. Automatically generated from version 5.5.0dsc_spsearchcrawlmapping
: The DSC SPSearchCrawlMapping resource type. Automatically generated from version 5.5.0dsc_spsearchcrawlrule
: The DSC SPSearchCrawlRule resource type. Automatically generated from version 5.5.0dsc_spsearchfiletype
: The DSC SPSearchFileType resource type. Automatically generated from version 5.5.0dsc_spsearchindexpartition
: The DSC SPSearchIndexPartition resource type. Automatically generated from version 5.5.0dsc_spsearchmanagedproperty
: The DSC SPSearchManagedProperty resource type. Automatically generated from version 5.5.0dsc_spsearchmetadatacategory
: The DSC SPSearchMetadataCategory resource type. Automatically generated from version 5.5.0dsc_spsearchresultsource
: The DSC SPSearchResultSource resource type. Automatically generated from version 5.5.0dsc_spsearchserviceapp
: The DSC SPSearchServiceApp resource type. Automatically generated from version 5.5.0dsc_spsearchservicesettings
: The DSC SPSearchServiceSettings resource type. Automatically generated from version 5.5.0dsc_spsearchtopology
: The DSC SPSearchTopology resource type. Automatically generated from version 5.5.0dsc_spsecurestoreserviceapp
: The DSC SPSecureStoreServiceApp resource type. Automatically generated from version 5.5.0dsc_spsecuritytokenserviceconfig
: The DSC SPSecurityTokenServiceConfig resource type. Automatically generated from version 5.5.0dsc_spselfservicesitecreation
: The DSC SPSelfServiceSiteCreation resource type. Automatically generated from version 5.5.0dsc_spservice
: The DSC SPService resource type. Automatically generated from version 5.5.0dsc_spserviceapppool
: The DSC SPServiceAppPool resource type. Automatically generated from version 5.5.0dsc_spserviceappproxygroup
: The DSC SPServiceAppProxyGroup resource type. Automatically generated from version 5.5.0dsc_spserviceappsecurity
: The DSC SPServiceAppSecurity resource type. Automatically generated from version 5.5.0dsc_spserviceidentity
: The DSC SPServiceIdentity resource type. Automatically generated from version 5.5.0dsc_spserviceinstance
: The DSC SPServiceInstance resource type. Automatically generated from version 5.5.0dsc_spsessionstateservice
: The DSC SPSessionStateService resource type. Automatically generated from version 5.5.0dsc_spshelladmins
: The DSC SPShellAdmins resource type. Automatically generated from version 5.5.0dsc_spsite
: The DSC SPSite resource type. Automatically generated from version 5.5.0dsc_spsitepropertybag
: The DSC SPSitePropertyBag resource type. Automatically generated from version 5.5.0dsc_spsiteurl
: The DSC SPSiteUrl resource type. Automatically generated from version 5.5.0dsc_spstateserviceapp
: The DSC SPStateServiceApp resource type. Automatically generated from version 5.5.0dsc_spsubscriptionsettingsserviceapp
: The DSC SPSubscriptionSettingsServiceApp resource type. Automatically generated from version 5.5.0dsc_sptimerjobstate
: The DSC SPTimerJobState resource type. Automatically generated from version 5.5.0dsc_sptrustedidentitytokenissuer
: The DSC SPTrustedIdentityTokenIssuer resource type. Automatically generated from version 5.5.0dsc_sptrustedidentitytokenissuerproviderrealms
: The DSC SPTrustedIdentityTokenIssuerProviderRealms resource type. Automatically generated from version 5.5.0dsc_sptrustedrootauthority
: The DSC SPTrustedRootAuthority resource type. Automatically generated from version 5.5.0dsc_sptrustedsecuritytokenissuer
: The DSC SPTrustedSecurityTokenIssuer resource type. Automatically generated from version 5.5.0dsc_spusageapplication
: The DSC SPUsageApplication resource type. Automatically generated from version 5.5.0dsc_spusagedefinition
: The DSC SPUsageDefinition resource type. Automatically generated from version 5.5.0dsc_spuserprofileproperty
: The DSC SPUserProfileProperty resource type. Automatically generated from version 5.5.0dsc_spuserprofilesection
: The DSC SPUserProfileSection resource type. Automatically generated from version 5.5.0dsc_spuserprofileserviceapp
: The DSC SPUserProfileServiceApp resource type. Automatically generated from version 5.5.0dsc_spuserprofileserviceapppermissions
: The DSC SPUserProfileServiceAppPermissions resource type. Automatically generated from version 5.5.0dsc_spuserprofilesyncconnection
: The DSC SPUserProfileSyncConnection resource type. Automatically generated from version 5.5.0dsc_spuserprofilesyncservice
: The DSC SPUserProfileSyncService resource type. Automatically generated from version 5.5.0dsc_spvisioserviceapp
: The DSC SPVisioServiceApp resource type. Automatically generated from version 5.5.0dsc_spweb
: The DSC SPWeb resource type. Automatically generated from version 5.5.0dsc_spwebappauthentication
: The DSC SPWebAppAuthentication resource type. Automatically generated from version 5.5.0dsc_spwebappblockedfiletypes
: The DSC SPWebAppBlockedFileTypes resource type. Automatically generated from version 5.5.0dsc_spwebappclientcallablesettings
: The DSC SPWebAppClientCallableSettings resource type. Automatically generated from version 5.5.0dsc_spwebappgeneralsettings
: The DSC SPWebAppGeneralSettings resource type. Automatically generated from version 5.5.0dsc_spwebapphttpthrottlingmonitor
: The DSC SPWebAppHttpThrottlingMonitor resource type. Automatically generated from version 5.5.0dsc_spwebapplication
: The DSC SPWebApplication resource type. Automatically generated from version 5.5.0dsc_spwebapplicationappdomain
: The DSC SPWebApplicationAppDomain resource type. Automatically generated from version 5.5.0dsc_spwebapplicationextension
: The DSC SPWebApplicationExtension resource type. Automatically generated from version 5.5.0dsc_spwebapppeoplepickersettings
: The DSC SPWebAppPeoplePickerSettings resource type. Automatically generated from version 5.5.0dsc_spwebapppermissions
: The DSC SPWebAppPermissions resource type. Automatically generated from version 5.5.0dsc_spwebapppolicy
: The DSC SPWebAppPolicy resource type. Automatically generated from version 5.5.0dsc_spwebapppropertybag
: The DSC SPWebAppPropertyBag resource type. Automatically generated from version 5.5.0dsc_spwebappproxygroup
: The DSC SPWebAppProxyGroup resource type. Automatically generated from version 5.5.0dsc_spwebappsiteuseanddeletion
: The DSC SPWebAppSiteUseAndDeletion resource type. Automatically generated from version 5.5.0dsc_spwebappsuitebar
: The DSC SPWebAppSuiteBar resource type. Automatically generated from version 5.5.0dsc_spwebappthrottlingsettings
: The DSC SPWebAppThrottlingSettings resource type. Automatically generated from version 5.5.0dsc_spwebappworkflowsettings
: The DSC SPWebAppWorkflowSettings resource type. Automatically generated from version 5.5.0dsc_spwordautomationserviceapp
: The DSC SPWordAutomationServiceApp resource type. Automatically generated from version 5.5.0dsc_spworkflowservice
: The DSC SPWorkflowService resource type. Automatically generated from version 5.5.0dsc_spworkmanagementserviceapp
: The DSC SPWorkManagementServiceApp resource type. Automatically generated from version 5.5.0
Resource types
dsc_spaccessserviceapp
The DSC SPAccessServiceApp resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spaccessserviceapp
type.
dsc_applicationpool
Data type: String
The name of the application pool to run the service app in
dsc_databaseserver
Data type: String
The name of the database server to host Access Services databases
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app exists, absent ensures it is removed
Parameters
The following parameters are available in the dsc_spaccessserviceapp
type.
dsc_name
namevar
Data type: String
The name of the service application
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spaccessservices2010
The DSC SPAccessServices2010 resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spaccessservices2010
type.
dsc_applicationpool
Data type: String
The name of the application pool to run the service app in
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app exists, absent ensures it is removed
Parameters
The following parameters are available in the dsc_spaccessservices2010
type.
dsc_name
namevar
Data type: String
The name of the service application
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spalternateurl
The DSC SPAlternateUrl resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spalternateurl
type.
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures the URL is set for this zone on this web app, Absent ensures it is removed
dsc_internal
Data type: Optional[Boolean]
Specifies if the URL has to be configured as internal
Parameters
The following parameters are available in the dsc_spalternateurl
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
dsc_url
namevar
Data type: String
The new alternate URL
dsc_webappname
namevar
Data type: String
The name of the web application to apply the alternate URL to
dsc_zone
namevar
Data type: Enum['Default', 'default', 'Intranet', 'intranet', 'Extranet', 'extranet', 'Custom', 'custom', 'Internet', 'internet']
The Zone to use for the alternate URL
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spantivirussettings
The DSC SPAntivirusSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spantivirussettings
type.
dsc_allowdownloadinfected
Data type: Optional[Boolean]
Should documents that are infected be allowed to be downloaded
dsc_attempttoclean
Data type: Optional[Boolean]
Should infected documents be handed to the AV engine to attempt cleaning
dsc_numberofthreads
Data type: Optional[Integer[0, 65535]]
How many concurrent threads should the AV engine be able to run on a server
dsc_scanondownload
Data type: Optional[Boolean]
Should documents be scanned before being downloaded
dsc_scanonupload
Data type: Optional[Boolean]
Should documents be scanned on upload
dsc_timeoutduration
Data type: Optional[Integer[0, 65535]]
What is the timeout for an AV scan in seconds
Parameters
The following parameters are available in the dsc_spantivirussettings
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spappcatalog
The DSC SPAppCatalog resource type. Automatically generated from version 5.5.0
Parameters
The following parameters are available in the dsc_spappcatalog
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_siteurl
namevar
Data type: String
The URL of the site collection that will be the app catalog for the web app that it is in
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spappdomain
The DSC SPAppDomain resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spappdomain
type.
dsc_prefix
Data type: String
The prefix to go on to app URLs
Parameters
The following parameters are available in the dsc_spappdomain
type.
dsc_appdomain
namevar
Data type: String
The domain name for apps to use in this farm
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spappmanagementserviceapp
The DSC SPAppManagementServiceApp resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spappmanagementserviceapp
type.
dsc_applicationpool
Data type: String
The app pool that should be used to run the service app
dsc_databasename
Data type: Optional[String]
The name of the database for the service application
dsc_databaseserver
Data type: Optional[String]
The name of the server for the database
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app exists, absent ensures it is removed
dsc_proxyname
Data type: Optional[String]
The proxy name, if not specified will be /Name of service app/ Proxy
dsc_usesqlauthentication
Data type: Optional[Boolean]
Should SQL Server authentication be used to connect to the database?
Parameters
The following parameters are available in the dsc_spappmanagementserviceapp
type.
dsc_databasecredentials
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
If using SQL authentication, the SQL credentials to use to connect to the instance
dsc_name
namevar
Data type: String
The name of the app management service application
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spappstoresettings
The DSC SPAppStoreSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spappstoresettings
type.
dsc_allowapppurchases
Data type: Optional[Boolean]
Specifies if App Purchases from the SharePoint Store are allowed
dsc_allowappsforoffice
Data type: Optional[Boolean]
Specifies if App Purchases for Office applications are allowed
Parameters
The following parameters are available in the dsc_spappstoresettings
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
dsc_webappurl
namevar
Data type: String
The URL of the web application
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spauthenticationrealm
The DSC SPAuthenticationRealm resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spauthenticationrealm
type.
dsc_authenticationrealm
Data type: String
The authentication realm to be set
Parameters
The following parameters are available in the dsc_spauthenticationrealm
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spazureaccesscontrolserviceappproxy
The DSC SPAzureAccessControlServiceAppProxy resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spazureaccesscontrolserviceappproxy
type.
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app proxy exists, absent ensures it is removed
dsc_metadataserviceendpointuri
Data type: String
Specifies the URL of the Azure Access Control Service's metadata document.
Parameters
The following parameters are available in the dsc_spazureaccesscontrolserviceappproxy
type.
dsc_name
namevar
Data type: String
The name of the Azure Access Control service application proxy
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spbcsserviceapp
The DSC SPBCSServiceApp resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spbcsserviceapp
type.
dsc_applicationpool
Data type: String
The application pool it should run in
dsc_databasename
Data type: Optional[String]
Name of the database to create for the service app
dsc_databaseserver
Data type: Optional[String]
Name of the database server to host the database on
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app exists, absent ensures it is removed
dsc_proxyname
Data type: Optional[String]
The name of the BCS service application proxy
dsc_usesqlauthentication
Data type: Optional[Boolean]
Should SQL Server authentication be used to connect to the database?
Parameters
The following parameters are available in the dsc_spbcsserviceapp
type.
dsc_databasecredentials
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
If using SQL authentication, the SQL credentials to use to connect to the instance
dsc_name
namevar
Data type: String
The name of the BCS service app
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spblobcachesettings
The DSC SPBlobCacheSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spblobcachesettings
type.
dsc_enablecache
Data type: Boolean
Specify if the blob cache has to be enabled
dsc_filetypes
Data type: Optional[String]
Specify the file types that must be stored by the blob cache
dsc_location
Data type: Optional[String]
The location where the blob cache has to store its files
dsc_maxageinseconds
Data type: Optional[Integer[0, 4294967295]]
The maximum age (in seconds) that a browser caches a blob
dsc_maxsizeingb
Data type: Optional[Integer[0, 65535]]
The maximum size (in GB) of disk space the blob cache is allowed to use
Parameters
The following parameters are available in the dsc_spblobcachesettings
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
dsc_webappurl
namevar
Data type: String
The URL of the web application
dsc_zone
namevar
Data type: Enum['Default', 'default', 'Intranet', 'intranet', 'Internet', 'internet', 'Custom', 'custom', 'Extranet', 'extranet']
The zone of the web application for which blob cache has to be configured
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spcacheaccounts
The DSC SPCacheAccounts resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spcacheaccounts
type.
dsc_setwebapppolicy
Data type: Optional[Boolean]
Should the web app policy be set for these accounts?
dsc_superreaderalias
Data type: String
The account name for the super reader
dsc_superuseralias
Data type: String
The account name for the super user
Parameters
The following parameters are available in the dsc_spcacheaccounts
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
dsc_webappurl
namevar
Data type: String
The URL of the web application to set the accounts for
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spcertificate
The DSC SPCertificate resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spcertificate
type.
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures certificate exists, absent ensures it is removed
dsc_exportable
Data type: Optional[Boolean]
Specifies if the certificate should be exportable after import
dsc_store
Data type: Optional[Enum['EndEntity', 'endentity', 'Intermediate', 'intermediate', 'Pending', 'pending', 'Root', 'root']]
Specifies the store in which the certificate should be placed
Parameters
The following parameters are available in the dsc_spcertificate
type.
dsc_certificatefilepath
dsc_certificatepassword
dsc_psdscrunascredential
dsc_timeout
name
validation_mode
dsc_certificatefilepath
namevar
Data type: String
Specifies path to the certificate file (PFX or CER)
dsc_certificatepassword
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
The password of the PFX file
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spcertificatesettings
The DSC SPCertificateSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spcertificatesettings
type.
dsc_certificateexpirationattentionthreshold
Data type: Optional[Integer[0, 4294967295]]
Specifies the certificate expiration attention threshold
dsc_certificateexpirationerrorthreshold
Data type: Optional[Integer[0, 4294967295]]
Specifies the certificate expiration error threshold
dsc_certificateexpirationwarningthreshold
Data type: Optional[Integer[0, 4294967295]]
Specifies the certificate expiration warning threshold
dsc_certificatenotificationcontacts
Data type: Optional[Array[String]]
Specifies the certificate notification contacts
dsc_country
Data type: Optional[String]
Specifies the default country
dsc_ellipticcurve
Data type: Optional[Enum['nistP256', 'nistp256', 'nistP384', 'nistp384', 'nistP521', 'nistp521']]
Specifies the default elliptic curve (Default=nistP256)
dsc_hashalgorithm
Data type: Optional[Enum['SHA256', 'sha256', 'SHA384', 'sha384', 'SHA512', 'sha512']]
Specifies the default hash algorithm (Default=SHA256
dsc_keyalgorithm
Data type: Optional[Enum['ECC', 'ecc', 'RSA', 'rsa']]
Specifies the default key algorithm
dsc_keysize
Data type: Optional[Enum['0', '2048', '4096', '8192', '16384']]
Specifies the default key size (Default=2048)
dsc_locality
Data type: Optional[String]
Specifies the default locality
dsc_organization
Data type: Optional[String]
Specifies the default organization
dsc_organizationalunit
Data type: Optional[String]
Specifies the default organizational unit
dsc_rsasignaturepadding
Data type: Optional[Enum['Pkcs1', 'pkcs1', 'Pss', 'pss']]
Specifies the default RSA signature padding (Default=Pkcs1)
dsc_state
Data type: Optional[String]
Specifies the default state
Parameters
The following parameters are available in the dsc_spcertificatesettings
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spconfigwizard
The DSC SPConfigWizard resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spconfigwizard
type.
dsc_databaseupgradedays
Data type: Optional[Array[Enum['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']]]
Specify on which dates running the Configuration Wizard is allowed
dsc_databaseupgradetime
Data type: Optional[String]
Specify in which time frame running the Configuration Wizard is allowed
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to run the Configuration Wizard. Absent is currently not supported
Parameters
The following parameters are available in the dsc_spconfigwizard
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spcontentdatabase
The DSC SPContentDatabase resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spcontentdatabase
type.
dsc_databaseserver
Data type: Optional[String]
The name of the database server to host the content DB
dsc_enabled
Data type: Optional[Boolean]
Should the database be enabled
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to create this database, absent to ensure it does not exist
dsc_maximumsitecount
Data type: Optional[Integer[0, 65535]]
Specify the site collection maximum limit for the content database
dsc_usesqlauthentication
Data type: Optional[Boolean]
Should SQL Server authentication be used to connect to the database?
dsc_warningsitecount
Data type: Optional[Integer[0, 65535]]
Specify the site collection warning limit for the content database
dsc_webappurl
Data type: String
The URL of the web application
Parameters
The following parameters are available in the dsc_spcontentdatabase
type.
dsc_databasecredentials
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
If using SQL authentication, the SQL credentials to use to connect to the instance
dsc_name
namevar
Data type: String
Specifies the name of the content database
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdatabaseaag
The DSC SPDatabaseAAG resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdatabaseaag
type.
dsc_agname
Data type: String
Name of the AlwaysOn group on the SQL server - this must already exist
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present if the database should be in this AlwaysOn group, or Absent if it should not be in the group
dsc_fileshare
Data type: Optional[String]
The fileshare to use for the SQL backup when adding to the group
Parameters
The following parameters are available in the dsc_spdatabaseaag
type.
dsc_databasename
namevar
Data type: String
The name of the database to put in the AlwaysOn group
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdesignersettings
The DSC SPDesignerSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdesignersettings
type.
dsc_allowcreatedeclarativeworkflow
Data type: Optional[Boolean]
Allow users to create declarative workflows with SharePoint Designer
dsc_allowcustomisemasterpage
Data type: Optional[Boolean]
Allow masterpages to be changed by SharePoint Designer
dsc_allowdetachpagesfromdefinition
Data type: Optional[Boolean]
Allow pages to be un-ghosted by SharePoint Designer
dsc_allowmanagesiteurlstructure
Data type: Optional[Boolean]
Allow site URL structure to be changed by SharePoint Designer
dsc_allowsavedeclarativeworkflowastemplate
Data type: Optional[Boolean]
Allow users to save declarative workflows as a template from SharePoint Designer
dsc_allowsavepublishdeclarativeworkflow
Data type: Optional[Boolean]
Allow users to save and re-publish declarative workflows with SharePoint Designer
dsc_allowsharepointdesigner
Data type: Optional[Boolean]
Allow the use of SharePoint Designer
dsc_settingsscope
Data type: Enum['WebApplication', 'webapplication', 'SiteCollection', 'sitecollection']
Define the scope of the configuration - either WebApplication or SiteCollection
Parameters
The following parameters are available in the dsc_spdesignersettings
type.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
dsc_webappurl
namevar
Data type: String
The URL of the web application or site collection to configure
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdiagnosticloggingsettings
The DSC SPDiagnosticLoggingSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdiagnosticloggingsettings
type.
dsc_appanalyticsautomaticuploadenabled
Data type: Optional[Boolean]
Should app analytics automatically be uploaded
dsc_customerexperienceimprovementprogramenabled
Data type: Optional[Boolean]
Should the customer experience program be enabled in this farm
dsc_daystokeeplogs
Data type: Optional[Integer[0, 4294967295]]
How many days should ULS logs be kept for
dsc_downloaderrorreportingupdatesenabled
Data type: Optional[Boolean]
Should updates to error reporting tools be automatically downloaded
dsc_errorreportingautomaticuploadenabled
Data type: Optional[Boolean]
Should error reports be automatically uploaded
dsc_errorreportingenabled
Data type: Optional[Boolean]
Should reporting of errors be enabled
dsc_eventlogfloodprotectionenabled
Data type: Optional[Boolean]
Protect event logs with Event Log Flood Protection
dsc_eventlogfloodprotectionnotifyinterval
Data type: Optional[Integer[0, 4294967295]]
What interval should the event logs report a flood event
dsc_eventlogfloodprotectionquietperiod
Data type: Optional[Integer[0, 4294967295]]
What quiet period should reset the event log flood protection thresholds
dsc_eventlogfloodprotectionthreshold
Data type: Optional[Integer[0, 4294967295]]
What is the event log flood protection threshold
dsc_eventlogfloodprotectiontriggerperiod
Data type: Optional[Integer[0, 4294967295]]
What is the time period that will trigger event log flood protection
dsc_logcutinterval
Data type: Optional[Integer[0, 4294967295]]
How many minutes of activity will a ULS log file leep in an individual file
dsc_logmaxdiskspaceusageenabled
Data type: Optional[Boolean]
Will the maximum disk space setting be enabled
dsc_logpath
Data type: String
The physical path on each server to store ULS logs
dsc_logspaceingb
Data type: Integer[0, 4294967295]
The space in GB that should be used to store ULS logs
dsc_scripterrorreportingdelay
Data type: Optional[Integer[0, 4294967295]]
What delay will be set before script error reporting is triggered
dsc_scripterrorreportingenabled
Data type: Optional[Boolean]
Is script error reporting enabled in this farm
dsc_scripterrorreportingrequireauth
Data type: Optional[Boolean]
Require users to be authenticated to allow script errors to be reported
Parameters
The following parameters are available in the dsc_spdiagnosticloggingsettings
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdiagnosticsprovider
The DSC SPDiagnosticsProvider resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdiagnosticsprovider
type.
dsc_enabled
Data type: Optional[Boolean]
True enables the Diagnostics Provider
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to configure the diagnostics provider
dsc_maxtotalsizeinbytes
Data type: Optional[Integer[0, 18446744073709551615]]
Sets the maximum retention size in bytes
dsc_retention
Data type: Optional[Integer[0, 65535]]
Sets the retention period in days
Parameters
The following parameters are available in the dsc_spdiagnosticsprovider
type.
dsc_name
namevar
Data type: String
Name of the Diagnostics Provider to configure
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdistributedcacheclientsettings
The DSC SPDistributedCacheClientSettings resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdistributedcacheclientsettings
type.
dsc_dacchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Access Cache
dsc_dacmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Access Cache
dsc_dacrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Access Cache
dsc_dafcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Activity Feed LMT Cache
dsc_dafchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Activity Feed Cache
dsc_dafcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Activity Feed LMT Cache
dsc_dafcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Activity Feed LMT Cache
dsc_dafmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Activity Feed Cache
dsc_dafrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Activity Feed Cache
dsc_dbcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Bouncer Cache
dsc_dbcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Bouncer Cache
dsc_dbcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Bouncer Cache
dsc_ddbfcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Db Level Failover Cache (SP2019 and above)
dsc_ddbfcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Db Level Failover Cache (SP2019 and above)
dsc_ddbfcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Db Level Failover Cache (SP2019 and above)
dsc_ddcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Default Cache
dsc_ddcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Default Cache
dsc_ddcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Default Cache
dsc_dehcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Edge Header Cache (SP2019 and above)
dsc_dehcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Edge Header Cache (SP2019 and above)
dsc_dehcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Edge Header Cache (SP2019 and above)
dsc_dfltcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed File Lock Throttler Cache (SP2016 and above)
dsc_dfltcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed File Lock Throttler Cache (SP2016 and above)
dsc_dfltcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed File Lock Throttler Cache (SP2016 and above)
dsc_dfsptcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed File Store Performance Trace Cache (SP2019 and above)
dsc_dfsptcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed File Store Performance Trace Cache (SP2019 and above)
dsc_dfsptcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed File Store Performance Trace Cache (SP2019 and above)
dsc_dhscchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Health Score Cache (SP2016 and above)
dsc_dhscmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Health Score Cache (SP2016 and above)
dsc_dhscrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Health Score Cache (SP2016 and above)
dsc_dltcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Logon Token Cache
dsc_dltcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Logon Token Cache
dsc_dltcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Logon Token Cache
dsc_drtcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Resource Tally Cache (SP2016 and above)
dsc_drtcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Resource Tally Cache (SP2016 and above)
dsc_drtcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Resource Tally Cache (SP2016 and above)
dsc_dscchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Search Cache
dsc_dscmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Search Cache
dsc_dscrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Search Cache
dsc_dsgcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Stop Gap Cache (SP2019 and above)
dsc_dsgcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Stop Gap Cache (SP2019 and above)
dsc_dsgcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Stop Gap Cache (SP2019 and above)
dsc_dspabscchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed SP Abs Blob Cache (SP2019 and above)
dsc_dspabscmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed SP Abs Blob Cache (SP2019 and above)
dsc_dspabscrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed SP Abs Blob Cache (SP2019 and above)
dsc_dspcvcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed SP Certificate Validator Cache (SP2019 and above)
dsc_dspcvcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed SP Certificate Validator Cache (SP2019 and above)
dsc_dspcvcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed SP Certificate Validator Cache (SP2019 and above)
dsc_dspoatcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed SP OAuth Token Cache (SP2019 and above)
dsc_dspoatcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed SP OAuth Token Cache (SP2019 and above)
dsc_dspoatcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed SP OAuth Token Cache (SP2019 and above)
dsc_dstacchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Server to Application Server Cache
dsc_dstacmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Server to Application Server Cache
dsc_dstacrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Server to Application Server Cache
dsc_dswucchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Shared With User Cache (SP2016 and above)
dsc_dswucmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Shared With User Cache (SP2016 and above)
dsc_dswucrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Shared With User Cache (SP2016 and above)
dsc_dtcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Security Trimming Cache
dsc_dtcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Security Trimming Cache
dsc_dtcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Security Trimming Cache
dsc_duacchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Unified Apps Cache (SP2019 and above)
dsc_duacmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Unified Apps Cache (SP2019 and above)
dsc_duacrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Unified Apps Cache (SP2019 and above)
dsc_duaucchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Unified Audit Cache (SP2019 and above)
dsc_duaucmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Unified Audit Cache (SP2019 and above)
dsc_duaucrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Unified Audit Cache (SP2019 and above)
dsc_dugcchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed Unified Groups Cache (SP2016 and above)
dsc_dugcmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed Unified Groups Cache (SP2016 and above)
dsc_dugcrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed Unified Groups Cache (SP2016 and above)
dsc_dvscchannelopentimeout
Data type: Optional[Integer[0, 4294967295]]
Channel timeout for the Distributed View State Cache
dsc_dvscmaxconnectionstoserver
Data type: Optional[Integer[0, 4294967295]]
Maximum number of connections to the Distributed View State Cache
dsc_dvscrequesttimeout
Data type: Optional[Integer[0, 4294967295]]
Request timeout for the Distributed View State Cache
Parameters
The following parameters are available in the dsc_spdistributedcacheclientsettings
type.
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Unique key for the resource. Set to 'Yes' to apply configuration.
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdistributedcacheservice
The DSC SPDistributedCacheService resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdistributedcacheservice
type.
dsc_cachesizeinmb
Data type: Integer[0, 4294967295]
How many MB should be used for the cache. The maximum supported is 16384
dsc_createfirewallrules
Data type: Boolean
Should the Windows Firewall rules for distributed cache be created?
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to ensure the current server should be running distributed cache, absent to ensure that it isn't running
dsc_serverprovisionorder
Data type: Optional[Array[String]]
A list of servers which specifies the order they should provision the cache in to ensure that two servers do not do it at the same time
dsc_serviceaccount
Data type: String
The name of the service account to run the service as. This should already be registered as a managed account in SharePoint
Parameters
The following parameters are available in the dsc_spdistributedcacheservice
type.
dsc_name
namevar
Data type: String
A name to assign to this resource - not really used. For example - AppFabricCachingService
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spdocicon
The DSC SPDocIcon resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spdocicon
type.
dsc_edittext
Data type: Optional[String]
Specifies the edit text for the file type
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to configure the file type. Absent is remove the file type
dsc_iconfile
Data type: Optional[String]
Specifies the full path to the image file for the file type
dsc_opencontrol
Data type: Optional[String]
Specifies the Open Control command for the file type
Parameters
The following parameters are available in the dsc_spdocicon
type.
dsc_filetype
namevar
Data type: String
Specifies the file type to configure the docicon for
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spexcelserviceapp
The DSC SPExcelServiceApp resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spexcelserviceapp
type.
dsc_applicationpool
Data type: String
The name of the application pool to run the service app in
dsc_cachingofunusedfilesenable
Data type: Optional[Boolean]
Specifies that files that are no longer used by Excel Services Application can remain in the cache for later use.
dsc_crossdomainaccessallowed
Data type: Optional[Boolean]
Specifies that trusted workbooks and data connection files can be requested and rendered by Web Parts or pages that reside in other HTTP domains.
dsc_encrypteduserconnectionrequired
Data type: Optional[Enum['None', 'none', 'Connection', 'connection']]
Requires that encryption is used between the end-user and the server running Excel Services Application.
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present ensures service app exists, absent ensures it is removed
dsc_externaldataconnectionlifetime
Data type: Optional[Integer[0, 4294967295]]
Specifies the maximum number of seconds that an external data connection can remain open in the connection pool.
dsc_fileaccessmethod
Data type: Optional[Enum['UseImpersonation', 'useimpersonation', 'UseFileAccessAccount', 'usefileaccessaccount']]
Specifies the authentication method that Excel Services Application uses to retrieve files.
dsc_loadbalancingscheme
Data type: Optional[Enum['RoundRobin', 'roundrobin', 'Local', 'local', 'WorkbookURL', 'workbookurl']]
Specifies the load-balancing schema that is used by the Excel Services Application Web service application to send requests to different back-end Excel Services Application computers.
dsc_memorycachethreshold
Data type: Optional[Integer[0, 4294967295]]
Specifies the percentage of the maximum private bytes that can be allocated to inactive objects.
dsc_privatebytesmax
Data type: Optional[Integer[-2147483648, 2147483647]]
Specifies the maximum private bytes, in megabytes, that are used by Excel Services Application.
dsc_sessionsperusermax
Data type: Optional[Integer[0, 4294967295]]
Specifies the maximum number of sessions allowed for a user.
dsc_sitecollectionanonymoussessionsmax
Data type: Optional[Integer[0, 4294967295]]
Specifies the maximum number of anonymous sessions allowed per site collection.
dsc_terminateprocessonaccessviolation
Data type: Optional[Boolean]
Terminates Excel Services Application when an access violation occurs in the process.
dsc_throttleaccessviolationspersitecollection
Data type: Optional[Integer[0, 4294967295]]
Specifies that if a workbook causes an access violation error on Excel Services Application, all files originating from that workbookâ??s site collection are blocked from loading for the specified period (in seconds).
dsc_trustedfilelocations
Data type: Optional[Array[Struct[{ locationtype => Enum['SharePoint', 'sharepoint', 'UNC', 'unc', 'HTTP', 'http'], description => Optional[String], requestdurationmax => Optional[Integer[0, 4294967295]], shortsessiontimeout => Optional[Integer[0, 4294967295]], udfsallowed => Optional[Boolean], restexternaldataallowed => Optional[Boolean], concurrentdatarequestspersessionmax => Optional[Integer[0, 4294967295]], address => Optional[String], externaldataallowed => Optional[Enum['None', 'none', 'Dcl', 'dcl', 'DclandEmbedded', 'dclandembedded']], manualextdatacachelifetime => Optional[Integer[0, 4294967295]], chartandimagesizemax => Optional[Integer[0, 4294967295]], workbooksizemax => Optional[Integer[0, 4294967295]], periodicextdatacachelifetime => Optional[Integer[0, 4294967295]], newworkbooksessiontimeout => Optional[Integer[0, 4294967295]], displaygranularextdataerrors => Optional[Boolean], includechildren => Optional[Boolean], sessiontimeout => Optional[Integer[0, 4294967295]], defaultworkbookcalcmode => Optional[Enum['File', 'file', 'Manual', 'manual', 'Auto', 'auto', 'AutoDataTables', 'autodatatables']], abortonrefreshonopenfail => Optional[Boolean], warnondatarefresh => Optional[Boolean], automaticvolatilefunctioncachelifetime => Optional[Integer[0, 4294967295]] }]]]
Trusted file locations for the service app
dsc_unattendedaccountapplicationid
Data type: Optional[String]
Specifies that the application ID that is used to look up the unattended service account credentials from the secure storage service that is specified by the UnattendedAccountSecureServiceAppName parameter.
dsc_unusedobjectagemax
Data type: Optional[Integer[-2147483648, 2147483647]]
Specifies the maximum amount of time, in minutes, that objects not currently used in a session are kept in the memory cache.
dsc_workbookcache
Data type: Optional[String]
Specifies the local file system location of the cache that is used to store workbooks that are used by Excel Services Application.
dsc_workbookcachesizemax
Data type: Optional[Integer[0, 4294967295]]
Specifies the maximum allowable size, in megabytes, of an individual session.
Parameters
The following parameters are available in the dsc_spexcelserviceapp
type.
dsc_name
namevar
Data type: String
The name of the service application
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
dsc_timeout
Data type: Optional[Integer]
The maximum time in seconds to wait for the DSC resource to complete.
name
namevar
Data type: String
Description of the purpose for this resource declaration.
validation_mode
Data type: Enum[property, resource]
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).
Default value: property
dsc_spfarm
The DSC SPFarm resource type. Automatically generated from version 5.5.0
Properties
The following properties are available in the dsc_spfarm
type.
dsc_admincontentdatabasename
Data type: String
The name of the admin content database
dsc_centraladministrationauth
Data type: Optional[Enum['NTLM', 'ntlm', 'Kerberos', 'kerberos']]
The authentication provider of the CentralAdministration web application
dsc_centraladministrationport
Data type: Optional[Integer[0, 4294967295]]
What port will Central Admin be provisioned to - default is 9999
dsc_centraladministrationurl
Data type: Optional[String]
Vanity URL for Central Administration
dsc_databaseserver
Data type: String
Server that will host the configuration and admin content databases
dsc_developerdashboard
Data type: Optional[Enum['Off', 'off', 'On', 'on', 'OnDemand', 'ondemand']]
Specifies the state of the Developer Dashboard ('OnDemand' is SP2013 only)
dsc_ensure
Data type: Optional[Enum['Present', 'present', 'Absent', 'absent']]
Present to create/join the farm. Absent is currently not supported
dsc_farmconfigdatabasename
Data type: String
Name of the configuration database
dsc_runcentraladmin
Data type: Boolean
Should the central admin site run on this specific server?
dsc_serverrole
Data type: Optional[Enum['Application', 'application', 'ApplicationWithSearch', 'applicationwithsearch', 'Custom', 'custom', 'DistributedCache', 'distributedcache', 'Search', 'search', 'SingleServerFarm', 'singleserverfarm', 'WebFrontEnd', 'webfrontend', 'WebFrontEndWithDistributedCache', 'webfrontendwithdistributedcache']]
SharePoint 2016 & 2019 only - the MinRole role to enroll this server as
dsc_skipregisterasdistributedcachehost
Data type: Optional[Boolean]
Set to true to not register the server computer as a distributed cache host
dsc_usesqlauthentication
Data type: Optional[Boolean]
Should SQL Server authentication be used to connect to the database?
Parameters
The following parameters are available in the dsc_spfarm
type.
dsc_applicationcredentialkey
dsc_databasecredentials
dsc_farmaccount
dsc_issingleinstance
dsc_passphrase
dsc_psdscrunascredential
dsc_timeout
name
validation_mode
dsc_applicationcredentialkey
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
Specifies the application credential key on the local server. Only supported for SP2019.
dsc_databasecredentials
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
If using SQL authentication, the SQL login to use to connect to the instance
dsc_farmaccount
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
The account to use as the main farm account
dsc_issingleinstance
namevar
Data type: Enum['Yes', 'yes']
Specifies the resource is a single instance, the value must be 'Yes'
dsc_passphrase
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
The passphrase to use to allow servers to join this farm
dsc_psdscrunascredential
Data type: Optional[Struct[{ user => String[1], password => Sensitive[String[1]] }]]
[5.5.0] - 2024-04-22
Added
- SPDistributedCacheClientSettings
- Added additional parameters for SP2019 and SPSE
Changed
- SPFarm
- Updated to run cmdlet
Update-SPFlightsConfigFile
on SharePoint Subscription.
- Updated to run cmdlet
Fixed
- SPCertificateSettings
- Fixed an error where the command failed to add SPCertificateNotificationContacts when there are currently none set.
Dependencies
- puppetlabs/pwshlib (>= 1.2.0 < 2.0.0)