SharePointDsc.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
#
# Module manifest for module 'SharePointDsc'
#
# Generated by: Microsoft Corporation
#
# Generated on: 20/06/2018
#

@{

    # Script module or binary module file associated with this manifest.
    # RootModule = ''

    # Version number of this module.
    ModuleVersion        = '4.9.0'

    # ID used to uniquely identify this module
    GUID                 = '6c1176a0-4fac-4134-8ca2-3fa8a21a7b90'

    # Author of this module
    Author               = 'DSC Community'

    # Company or vendor of this module
    CompanyName          = 'DSC Community'

    # Copyright statement for this module
    Copyright            = 'Copyright the DSC Community contributors. All rights reserved.'

    # Description of the functionality provided by this module
    Description          = '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 version of the Windows PowerShell engine required by this module
    PowerShellVersion    = '4.0'

    # Name of the Windows PowerShell host required by this module
    # PowerShellHostName = ''

    # Minimum version of the Windows PowerShell host required by this module
    # PowerShellHostVersion = ''

    # Minimum version of Microsoft .NET Framework required by this module
    # DotNetFrameworkVersion = ''

    # Minimum version of the common language runtime (CLR) required by this module
    # CLRVersion = ''

    # Processor architecture (None, X86, Amd64) required by this module
    # ProcessorArchitecture = ''

    # Modules that must be imported into the global environment prior to importing this module
    # RequiredModules = @(
    # @{
    # ModuleName = "ReverseDSC"
    # RequiredVersion = "2.0.0.7"
    # }
    # )

    # Assemblies that must be loaded prior to importing this module
    # RequiredAssemblies = @()

    # Script files (.ps1) that are run in the caller's environment prior to importing this module.
    ScriptsToProcess     = @("Modules\SharePointDsc.Reverse\Import-SPPowerShellSnapIn.ps1")

    # Type files (.ps1xml) to be loaded when importing this module
    # TypesToProcess = @()

    # Format files (.ps1xml) to be loaded when importing this module
    # FormatsToProcess = @()

    # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
    NestedModules        = @("Modules\SharePointDsc.Util\SharePointDsc.Util.psd1")

    # Functions to export from this module
    FunctionsToExport    = @(
        'Add-SPDscEvent',
        'Add-SPDscUserToLocalAdmin',
        'Clear-SPDscKerberosToken',
        'Compare-PSCustomObjectArrays',
        'Convert-SPDscADGroupIDToName',
        'Convert-SPDscADGroupNameToID',
        'Convert-SPDscHashtableToString',
        'ConvertTo-ReverseString',
        'ConvertTo-TwoDigitFlipString',
        'Export-SPConfiguration',
        'Export-SPDscDiagnosticData',
        'Format-OfficePatchGUID',
        'Get-SPDscDBForAlias',
        'Get-SPDscAssemblyVersion',
        'Get-SPDscBuildVersion',
        'Get-SPDscClaimTypeMapping',
        'Get-SPDscContentService',
        'Get-SPDscFarmAccount',
        'Get-SPDscFarmAccountName',
        'Get-SPDscFarmProductsInfo',
        'Get-SPDscFarmVersionInfo',
        'Get-SPDscInstalledProductVersion',
        'Get-SPDscOSVersion',
        'Get-SPDscRegistryKey',
        'Get-SPDscRegProductsInfo',
        'Get-SPDscServerPatchStatus',
        'Get-SPDscServiceAppSecurityMembers',
        'Get-SPDscServiceContext',
        'Get-SPDscUserProfileSubTypeManager',
        'Get-SPDscWebAppHappyHour',
        'Get-SPWebPolicyPermissions',
        'Invoke-SPDscCommand',
        'Read-TargetResource',
        'Remove-SPDscGenericObject',
        'Remove-SPDscUserToLocalAdmin',
        'Remove-SPDscZoneMap',
        'Rename-SPDscParamValue',
        'Repair-Credentials',
        'Resolve-SPDscSecurityIdentifier',
        'Set-SPDscObjectPropertyIfValuePresent',
        'Set-SPDscZoneMap',
        'Set-SPFarmAdministrators',
        'Set-SPFarmAdministratorsBlock',
        'Set-SPDscTermStoreAdministrators',
        'Set-SPDscTermStoreAdministratorsBlock',
        'Test-SPDscIsADUser',
        'Test-SPDscObjectHasProperty',
        'Test-SPDscParameterState',
        'Test-SPDscRunAsCredential',
        'Test-SPDscRunningAsFarmAccount',
        'Test-SPDscUserIsLocalAdmin'
    )

    # Cmdlets to export from this module
    CmdletsToExport      = @()

    # Variables to export from this module
    VariablesToExport    = @()

    # Aliases to export from this module
    AliasesToExport      = @('Start-SharePointDSCExtract')

    # DSCResources to export from this module
    DscResourcesToExport = @('SPAccessServiceApp','SPAccessServices2010','SPAlternateUrl','SPAntivirusSettings','SPAppCatalog','SPAppDomain','SPAppManagementServiceApp','SPAppStoreSettings','SPAuthenticationRealm','SPAzureAccessControlServiceAppProxy','SPBCSServiceApp','SPBlobCacheSettings','SPCacheAccounts','SPConfigWizard','SPContentDatabase','SPDatabaseAAG','SPDesignerSettings','SPDiagnosticLoggingSettings','SPDiagnosticsProvider','SPDistributedCacheClientSettings','SPDistributedCacheService','SPDocIcon','SPExcelServiceApp','SPFarm','SPFarmAdministrators','SPFarmPropertyBag','SPFarmSolution','SPFeature','SPHealthAnalyzerRuleState','SPIncomingEmailSettings','SPInfoPathFormsServiceConfig','SPInstall','SPInstallLanguagePack','SPInstallPrereqs','SPIrmSettings','SPLogLevel','SPMachineTranslationServiceApp','SPManagedAccount','SPManagedMetadataServiceApp','SPManagedMetadataServiceAppDefault','SPManagedPath','SPMinRoleCompliance','SPOAppPrincipalMgmtServiceAppProxy','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','SPSearchServiceSettings','SPSearchTopology','SPSecureStoreServiceApp','SPSecurityTokenServiceConfig','SPSelfServiceSiteCreation','SPServiceAppPool','SPServiceAppProxyGroup','SPServiceAppSecurity','SPServiceIdentity','SPServiceInstance','SPSessionStateService','SPShellAdmins','SPSite','SPSitePropertyBag','SPSiteUrl','SPStateServiceApp','SPSubscriptionSettingsServiceApp','SPTimerJobState','SPTrustedIdentityTokenIssuer','SPTrustedIdentityTokenIssuerProviderRealms','SPTrustedRootAuthority','SPTrustedSecurityTokenIssuer','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','SPManagedMetaDataServiceApp','SPManagedMetaDataServiceAppDefault','SPService','SPUsageDefinition','SPWebAppHttpThrottlingMonitor')

    # List of all modules packaged with this module
    # ModuleList = @()

    # List of all files packaged with this module
    # FileList = @()

    # HelpInfo URI of this module
    # HelpInfoURI = ''

    # Default prefix for commands exported from this module. Override the default prefix using Import-Module -prefix.
    # DefaultCommandPrefix = ''

    # Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
    PrivateData          = @{

        PSData = @{
            # Tags applied to this module. These help with module discovery in online galleries.
            Tags         = @('DesiredStateConfiguration', 'DSC', 'DSCResourceKit', 'DSCResource')

            # A URL to the license for this module.
            LicenseUri   = 'https://github.com/dsccommunity/SharePointDsc/blob/master/LICENSE'

            # A URL to the main website for this project.
            ProjectUri   = 'https://github.com/dsccommunity/SharePointDsc'

            # A URL to an icon representing this module.
            IconUri      = 'https://dsccommunity.org/images/DSC_Logo_300p.png'

            # ReleaseNotes of this module
            ReleaseNotes = '## [4.9.0] - 2021-11-05
 
### Added
 
- SPLogLevel
  - Added ReverseDsc export support to this resource
- SPWebApplication
  - Added logic to check if specified content database exists in the web
    application
  - Added possibility to update application pool
 
### Changed
 
- SharePointDsc
  - Updated build pipeline to use the correct vm image
 
### Fixed
 
- SharePointDsc
  - Fixed issue where the snapin was generating the "An item with the same
    key has already been added" error
- ReverseDsc
  - Fixed issue where the export would contain duplicate configuration
  - Fixed issue where the example export cmdlets was in the incorrect format
- SPDocIcon
  - Fixed issue where the resource was using hardcoded SP2016 and later paths
    and therefore didn''t work in SP2013
- SPSearchServiceApp
  - Disabled the Farm account DB ownership check when using SQL Auth
- SPServiceAppPool
  - Fixed issue in Export method where the PsDscRunAsCredential was stored as
    a string instead of a PsCredential object
- SPSite
  - Fixed issue where the code continues when the creation of the site failed,
    throwing even more errors
 
'


            # Set to a prerelease string value if the release should be a prerelease.
            Prerelease   = ''
        } # End of PSData hashtable

    } # End of PrivateData hashtable
}