You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-customization/site-design-powershell.md
+43-3Lines changed: 43 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,9 @@ ms.date: 01/08/2018
7
7
# PowerShell cmdlets for SharePoint site designs and site scripts
8
8
9
9
> [!NOTE]
10
-
> Site designs and site scripts are in preview and are subject to change. They are currently only supported for use in production environments in Targeted Release.
10
+
> Site designs and site scripts have been released to production and are available for general use.
11
11
12
-
Use PowerShell cmdlets to create, retrieve, update, and remove site designs and site scripts.
12
+
Use PowerShell cmdlets to create, retrieve, update, and remove site designs and site scripts to new and existing modern site collections.
13
13
14
14
## Getting started
15
15
@@ -30,6 +30,7 @@ The following cmdlets are available for managing site designs and site scripts f
30
30
-**Get-SPOSiteDesignRights**
31
31
-**Get-SPOSiteScript**
32
32
-**Grant-SPOSiteDesignRights**
33
+
-**Invoke-SPOSiteDesign**
33
34
-**Remove-SPOSiteDesign**
34
35
-**Remove-SPOSiteScript**
35
36
-**Revoke-SPOSiteDesignRights**
@@ -98,7 +99,7 @@ Add-SPOSiteScript
98
99
| -Content | JSON value that describes the script. For more information, see [JSON reference](site-design-json-schema.md).|
99
100
| -Description | A description of the script. |
100
101
101
-
The following example adds a new site from the following script in a file.
102
+
The following example adds a new site logo from the following script in a file.
Applies a published site design to a specified site collection target. This allows a site design to be applied to an existing site collection.
240
+
241
+
```powershell
242
+
Invoke-SPOSiteDesign
243
+
[-Identity]
244
+
-WebUrl <string>
245
+
[<CommonParameters>]
246
+
```
247
+
248
+
### Parameters
249
+
250
+
|Parameter | Description |
251
+
|--------------|--------------|
252
+
| -Identity | The ID of the site design to apply. |
253
+
| -WebUrl | The Url of the site collection where the site design will be applied.|
254
+
255
+
The following example applies a site design whose script creates two lists, formats several of the columns, adds the lists to the site navigation, and then joins the site to an existing hub site.
0 commit comments