When to use 'SharePointManagedPaths'
Use this resource when you need to define the URL paths available for site collections within SharePoint web applications. Managed paths control where site collections can be created (e.g., /sites/, /teams/) and are required before creating site collections at those paths.
Source |
|
DSC Resource |
|
Documentation |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Hashtable[] |
set of managed paths |
| Parameter | Attribute | DataType | Description | Allowed Values |
|---|---|---|---|---|
Example
SharePointManagedPaths:
ManagedPaths:
- WebAppUrl: t1 #https://content.contoso.com
RelativeUrl: mp1
Explicit: false
HostHeader: false
- WebAppUrl: t2 #https://content.contoso.com
RelativeUrl: mp2
Explicit: false
HostHeader: false
- WebAppUrl: t3 #https://my.contoso.com
RelativeUrl: personal
Explicit: false
HostHeader: false