-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
Modules/SharePointDsc/en-US/about_SPSearchServiceSettings.help.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.NAME | ||
SPSearchServiceSettings | ||
|
||
# Description | ||
|
||
**Type:** Distributed | ||
**Requires CredSSP:** No | ||
|
||
This resource is responsible for configuring settings for the search | ||
service, like the crawler performance level. All settings are farm | ||
wide settings, which is why this resource should only be used once | ||
in each configuration. | ||
|
||
.PARAMETER IsSingleInstance | ||
Key - String | ||
Allowed values: Yes | ||
Specifies the resource is a single instance, the value must be 'Yes' | ||
|
||
.PARAMETER PerformanceLevel | ||
Write - string | ||
Allowed values: Reduced, PartlyReduced, Maximum | ||
Specifies the performance level of the crawler | ||
|
||
.PARAMETER ContactEmail | ||
Write - string | ||
Specifies the contact email used by the crawler | ||
|
||
.PARAMETER WindowsServiceAccount | ||
Write - string | ||
Sets the windows services for search to run as this account | ||
|
||
.PARAMETER InstallAccount | ||
Write - String | ||
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 | ||
|
||
|
||
.EXAMPLE | ||
This example creates a new search service app in the local farm | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount, | ||
|
||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SearchAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPSearchServiceSettings SearchServiceSettings | ||
{ | ||
IsSingleInstance = "Yes" | ||
PerformanceLevel = "Maximum" | ||
ContactEmail = "[email protected]" | ||
WindowsServiceAccount = $SearchAccount | ||
PsDscRunAsCredential = $SetupAccount | ||
} | ||
} | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters