Skip to content

Commit

Permalink
Merge pull request #1383 from ykuijs/master
Browse files Browse the repository at this point in the history
Adding example and fixing issues
  • Loading branch information
ykuijs committed Feb 23, 2022
2 parents 5e52862 + 0c65129 commit 4c78a21
Show file tree
Hide file tree
Showing 15 changed files with 4,274 additions and 22 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- SharePointDsc
- Added generic unit tests files to quickly run all or a specific unit test
- Updated pipeline scripts to a recent version
- Added an extensive flexible configuration to deploy a SharePoint environment
- SPDistributedCacheService
- Added documentation to clarify the use of the ServerProvisionOrder parameter
- SPTrustedIdentityTokenIssuer
- Added parameters to support OIDC authentication in SharePoint Server Subscription Edition
- SPWebAppPeoplePickerSettings
- Added the PeopleEditorOnlyResolveWithinSiteCollection parameter to the resource
- SPDistributedCacheService
- Added documentation to clarify the use of the ServerProvisionOrder parameter

### Changed

Expand All @@ -28,6 +29,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- SPSearchIndexPartition
- Fixed issue where the Get method returned multiple values when using multiple
index components
- Fixed issue the Export would place quotes around a variable in the output
- SPSearchTopology
- Fixed issue the Export would place quotes around a variable in the output
- SPTrustedRootAuthority
- Fixed issue where certificates not in the Personal store could not be used
- Add-SPDscConfigDBLock
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Get-TargetResource
Where-Object -FilterScript {
($_.GetType().Name -eq "IndexComponent") `
-and ($_.IndexPartitionOrdinal -eq $params.Index)
}
} | Select-Object -First 1

$IndexComponents = $searchComponent.ServerName
$rootDirectory = $searchComponent.RootDirectory
Expand Down Expand Up @@ -286,7 +286,7 @@ function Export-TargetResource
$ssa = Get-SPEnterpriseSearchServiceApplication -Identity $ssa
$currentTopology = $ssa.ActiveTopology
$indexComponents = Get-SPEnterpriseSearchComponent -SearchTopology $currentTopology | `
Where-Object -FilterScript {
Where-Object -FilterScript {
$_.GetType().Name -eq "IndexComponent"
}

Expand Down Expand Up @@ -318,6 +318,7 @@ function Export-TargetResource

$currentBlock = Get-DSCBlock -Params $results -ModulePath $module
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "PsDscRunAsCredential"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "Servers"
$PartialContent += $currentBlock
$PartialContent += " }`r`n"
$Content += $PartialContent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,12 @@ function Export-TargetResource

$currentBlock = Get-DSCBlock -Params $results -ModulePath $module
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "PsDscRunAsCredential"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "Admin"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "AnalyticsProcessing"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "ContentProcessing"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "Crawler"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "IndexPartition"
$currentBlock = Convert-DSCStringParamToVariable -DSCBlock $currentBlock -ParameterName "QueryProcessing"
$PartialContent += $currentBlock
$PartialContent += " }`r`n"
$Content += $PartialContent
Expand Down

0 comments on commit 4c78a21

Please sign in to comment.