Skip to content

Latest commit

 

History

History
98 lines (79 loc) · 2.76 KB

File metadata and controls

98 lines (79 loc) · 2.76 KB

DSC Resource 'SharePointWebApplications'

SharePointWebApplications creates SharePoint web applications with configured authentication and hosting settings.

When to use 'SharePointWebApplications'

Use this resource when you need to create SharePoint web applications that host site collections. Web applications define the IIS site, authentication method, URL, and application pool for SharePoint content. Create service application pools first using SharePointServiceAppPools.

Source

DSC Resource

Documentation

Table 1. Attributes of category 'SharePointWebApplications'
Parameter Attribute DataType Description Allowed Values

WebApplications

Hashtable[]

set of web applications

Table 2. Attributes of category 'SharePointWebApplications/WebApplications'
Parameter Attribute DataType Description Allowed Values
Example
SharePointWebApplications:
  WebApplications:
    - Name: SharePoint - Content
      ApplicationPool: SharePoint - Content
      ApplicationPoolAccount: contoso\sp_contentAppPool
      AllowAnonymous: false
      WebAppUrl: https://content.contoso.com/
      HostHeader: content.contoso.com
      DatabaseName: SP2016_Content_01
      DatabaseServer: SqlServer001
      Port: 443
    - Name: SharePoint - MySite
      ApplicationPool: SharePoint - MySite
      ApplicationPoolAccount: contoso\sp_contentAppPool
      AllowAnonymous: false
      WebAppUrl: https://my.contoso.com/
      HostHeader: content.contoso.com
      DatabaseName: SP2016_Content_My_02
      DatabaseServer: SqlServer001
      Port: 443