-
Notifications
You must be signed in to change notification settings - Fork 107
SPCacheAccounts
Brian Farnhill edited this page Jun 2, 2016
·
18 revisions
Parameters
Parameter | Attribute | DataType | Description | Allowed Values |
---|---|---|---|---|
WebAppUrl | Key | string | The URL of the web application to set the accounts for | |
SuperUserAlias | Required | string | The account name for the super user | |
SuperReaderAlias | Required | string | The account name for the super reader | |
SetWebAppPolicy | Write | boolean | Should the web app policy be set for these accounts? | |
InstallAccount | Write | String | POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsAccount if using PowerShell 5 |
Description
This resource is used to set the "super user" and "super reader" cache accounts for the specified web application object (as described in the TechNet article Configure object cache user accounts in SharePoint Server 2013).
Example
SPCacheAccounts SetCacheAccounts
{
WebAppUrl = "http://sharepoint.contoso.com"
SuperUserAlias = "DEMO\svcSPSuperUser"
SuperReaderAlias = "DEMO\svcSPReader"
PsDscRunAsCredential = $InstallAccount
}
- Home
- Getting Started
- Pre-requisites
- Installing the module
- Exporting SharePoint Configuration
- Creating Configuration Files
- Pre-created Examples
- Creating an Azure development environment
- Understanding Resources & Syntax
- Remote PowerShell Authentication
- Contributing to SharePointDsc
- Other useful modules for SharePoint DSC configurations