File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
sharepoint/sharepoint-ps/sharepoint-online Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ Set-SPOSiteScript
19
19
-Title <string>
20
20
-Content <string>
21
21
[-Description <string>]
22
+ [-Version <Int32>]
22
23
[<CommonParameters>]
23
24
```
24
25
@@ -33,6 +34,7 @@ Updates a previously uploaded site script.
33
34
This example updates a previously created site script. Any site designs referencing it execute the updated script.
34
35
35
36
```
37
+ $newnavscript = @'
36
38
{
37
39
"$schema": "schema.json",
38
40
"actions": [
@@ -55,7 +57,11 @@ This example updates a previously created site script. Any site designs referenc
55
57
],
56
58
"bindata": { },
57
59
"version": 2
58
- }
60
+ };
61
+ '@
62
+
63
+ Set-SPOSiteScript -Identity edaec4ec-71e2-4026-ac1e-6686bb30190d -Content $newnavscript -Version 2
64
+
59
65
```
60
66
61
67
## PARAMETERS
@@ -123,6 +129,21 @@ Default value: None
123
129
Accept pipeline input : False
124
130
Accept wildcard characters : False
125
131
` ` `
132
+ ### -Version
133
+
134
+ A version number of the script.
135
+
136
+ ` ` ` yaml
137
+ Type : Int32
138
+ Parameter Sets : (All)
139
+ Aliases :
140
+ Applicable : SharePoint Online
141
+ Required : False
142
+ Position : Named
143
+ Default value : None
144
+ Accept pipeline input : False
145
+ Accept wildcard characters : False
146
+ ` ` `
126
147
127
148
128
149
## INPUTS
You can’t perform that action at this time.
0 commit comments