-
Notifications
You must be signed in to change notification settings - Fork 108
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
20 changed files
with
478 additions
and
22 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
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
62 changes: 62 additions & 0 deletions
62
Modules/SharePointDsc/en-US/about_SPDiagnosticsProvider.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,62 @@ | ||
.NAME | ||
SPDiagnosticsProvider | ||
|
||
# Description | ||
|
||
This resource is responsible for configuring the Diagnostics Provider within | ||
the local SharePoint farm. Using Ensure equals to Absent is not supported. | ||
This resource can only apply configuration, not ensure they don't exist. | ||
|
||
.PARAMETER Name | ||
Key - string | ||
Name of the Diagnostics Provider to configure | ||
|
||
.PARAMETER Retention | ||
Write - Uint16 | ||
Sets the retention period in days | ||
|
||
.PARAMETER MaxTotalSizeInBytes | ||
Write - Uint64 | ||
Sets the maximum retention size in bytes | ||
|
||
.PARAMETER Enabled | ||
Write - Boolean | ||
True enables the Diagnostics Provider | ||
|
||
.PARAMETER Ensure | ||
Write - string | ||
Allowed values: Present, Absent | ||
Present to configure the diagnostics provider | ||
|
||
.PARAMETER InstallAccount | ||
Write - String | ||
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 | ||
|
||
|
||
.EXAMPLE | ||
This example shows how to configure the retention period for a Diagnostics Provider. | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPDiagnosticsProvider BlockingQueryProvider | ||
{ | ||
Ensure = "Present" | ||
Name = "job-diagnostics-blocking-query-provider" | ||
MaxTotalSizeInBytes = 10000000000000 | ||
Retention = 14 | ||
Enabled = $true | ||
PSDscRunAsCredential = $SetupAccount | ||
} | ||
} | ||
} | ||
|
||
|
107 changes: 107 additions & 0 deletions
107
Modules/SharePointDsc/en-US/about_SPInfoPathFormsServiceConfig.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,107 @@ | ||
.NAME | ||
SPInfoPathFormsServiceConfig | ||
|
||
# Description | ||
|
||
This resource is responsible for configuring the InfoPath Forms service within | ||
the local SharePoint farm. Using Ensure equals to Absent is not supported. | ||
This resource can only apply configuration, not ensure they don't exist. | ||
|
||
.PARAMETER Ensure | ||
Key - string | ||
Allowed values: Present, Absent | ||
Present ensures the settings are applied | ||
|
||
.PARAMETER AllowUserFormBrowserEnabling | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to allow users to browse forms | ||
|
||
.PARAMETER AllowUserFormBrowserRendering | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to render forms in the browser | ||
|
||
.PARAMETER MaxDataConnectionTimeout | ||
Write - Uint32 | ||
Sets the maximum connection timeout in milliseconds | ||
|
||
.PARAMETER DefaultDataConnectionTimeout | ||
Write - Uint32 | ||
Sets the default connection timeout in milliseconds | ||
|
||
.PARAMETER MaxDataConnectionResponseSize | ||
Write - Uint32 | ||
Sets the maximum response size in kb for the user response | ||
|
||
.PARAMETER RequireSslForDataConnections | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to require SSL for its connections | ||
|
||
.PARAMETER AllowEmbeddedSqlForDataConnections | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to allow embedded SQL sonnections in Forms | ||
|
||
.PARAMETER AllowUdcAuthenticationForDataConnections | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to allow User Defined connections | ||
|
||
.PARAMETER AllowUserFormCrossDomainDataConnections | ||
Write - Boolean | ||
True sets the InfoPath Forms Service to allow Cross-Domain connections | ||
|
||
.PARAMETER MaxPostbacksPerSession | ||
Write - Uint16 | ||
Maximum number of postback allowed per session | ||
|
||
.PARAMETER MaxUserActionsPerPostback | ||
Write - Uint16 | ||
Maximum number of actions that can be triggered per postback | ||
|
||
.PARAMETER ActiveSessionsTimeout | ||
Write - Uint16 | ||
Timeout in minutes for active sessions | ||
|
||
.PARAMETER MaxSizeOfUserFormState | ||
Write - Uint16 | ||
Maximum size of user session data | ||
|
||
.PARAMETER InstallAccount | ||
Write - String | ||
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 | ||
|
||
|
||
.EXAMPLE | ||
This example shows how to configure the InfoPath Forms Service | ||
in the local SharePoint farm. | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPInfoPathFormsServiceConfig InfoPathFormsServiceConfig | ||
{ | ||
Ensure = "Present" | ||
AllowUserFormBrowserEnabling = $true | ||
AllowUserFormBrowserRendering = $true | ||
MaxDataConnectionTimeout = 20000 | ||
DefaultDataConnectionTimeout = 10000 | ||
MaxDataConnectionResponseSize = 1500 | ||
RequireSslForDataConnections = $true | ||
AllowEmbeddedSqlForDataConnections = $false | ||
AllowUdcAuthenticationForDataConnections = $false | ||
AllowUserFormCrossDomainDataConnections = $false | ||
MaxPostbacksPerSession = 75 | ||
MaxUserActionsPerPostback = 200 | ||
ActiveSessionsTimeout = 1440 | ||
MaxSizeOfUserFormState = 4096 | ||
} | ||
} | ||
} | ||
|
||
|
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
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
92 changes: 92 additions & 0 deletions
92
Modules/SharePointDsc/en-US/about_SPSearchAuthoritativePage.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,92 @@ | ||
.NAME | ||
SPSearchAuthoritativePage | ||
|
||
# Description | ||
|
||
This resource is responsible for managing the search authoritative pages in the | ||
search service application. You can create new pages, change existing pages and | ||
remove existing pages. | ||
|
||
The default value for the Ensure parameter is Present. When you omit this | ||
parameter the crawl rule is created. | ||
|
||
.PARAMETER ServiceAppName | ||
Key - String | ||
Search Service Application Name | ||
|
||
.PARAMETER Path | ||
Key - String | ||
Source URI for the authoritative page | ||
|
||
.PARAMETER Level | ||
Write - Real32 | ||
Level of Authoratitive Page, values between 0.0 and 2.0 | ||
|
||
.PARAMETER Action | ||
Write - String | ||
Allowed values: Authoratative, Demoted | ||
The resource will either make the page authoritative or demoted based on this value | ||
|
||
.PARAMETER Ensure | ||
Write - String | ||
Allowed values: Present, Absent | ||
Ensure the Authoritative is Present or Absent | ||
|
||
.PARAMETER InstallAccount | ||
Write - String | ||
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 | ||
|
||
|
||
.EXAMPLE | ||
This example shows how to create a Search Authoritative Page | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPSearchAuthoritativePage AuthoratativePage | ||
{ | ||
ServiceAppName = "Search Service Application" | ||
Path = "http://site.sharepoint.com/Pages/authoritative.aspx" | ||
Action = "Authoratative" | ||
Level = 0.0 | ||
Ensure = "Present" | ||
PsDscRunAsCredential = $SetupAccount | ||
} | ||
} | ||
} | ||
|
||
|
||
.EXAMPLE | ||
This example shows how to create a Search Demoted Page | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPSearchAuthoritativePage AuthoratativePage | ||
{ | ||
ServiceAppName = "Search Service Application" | ||
Path = "http://site.sharepoint.com/Pages/demoted.aspx" | ||
Action = "Demoted" | ||
Ensure = "Present" | ||
PsDscRunAsCredential = $SetupAccount | ||
} | ||
} | ||
} | ||
|
||
|
Oops, something went wrong.