-
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
29 changed files
with
432 additions
and
161 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
56 changes: 56 additions & 0 deletions
56
Modules/SharePointDsc/en-US/about_SPAuthenticationRealm.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,56 @@ | ||
.NAME | ||
SPAuthenticationRealm | ||
|
||
# Description | ||
|
||
**Type:** Distributed | ||
**Requires CredSSP:** No | ||
|
||
This resource is used to set the authentication realm for a farm. | ||
By default the authentication realm for a new farm installation | ||
is the same as the farm id. | ||
|
||
Note: | ||
|
||
SharePoint automatically converts the realm to lower case ASCII printable characters. | ||
The specified authentication realm must therefore conform to this for the test | ||
method to be able to detect a correct configuration. | ||
|
||
.PARAMETER IsSingleInstance | ||
Key - String | ||
Allowed values: Yes | ||
Specifies the resource is a single instance, the value must be 'Yes' | ||
|
||
.PARAMETER AuthenticationRealm | ||
Required - String | ||
The authentication realm to be set | ||
|
||
.PARAMETER InstallAccount | ||
Write - String | ||
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5 | ||
|
||
|
||
.EXAMPLE | ||
This example sets the farm atuhentication realm. | ||
|
||
|
||
Configuration Example | ||
{ | ||
param( | ||
[Parameter(Mandatory = $true)] | ||
[PSCredential] | ||
$SetupAccount | ||
) | ||
Import-DscResource -ModuleName SharePointDsc | ||
|
||
node localhost { | ||
SPAuthenticationRealm AuthenticationRealm | ||
{ | ||
IsSingleInstance = "Yes" | ||
AuthenticationRealm = "14757a87-4d74-4323-83b9-fb1e77e8f22f" | ||
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
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
Oops, something went wrong.