Skip to content

Commit 20324ee

Browse files
committed
Merge branch 'master' into chrisda
2 parents 63641d0 + 7dc877d commit 20324ee

File tree

3 files changed

+93
-10
lines changed

3 files changed

+93
-10
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Add-SPOTheme.md

Lines changed: 70 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ schema: 2.0.0
1111

1212
Creates a new custom theme, or overwrites an existing theme to modify its settings.
1313

14+
## SYNTAX
15+
16+
```
17+
Add-SPOTheme
18+
-Identity <SpoThemePipeBind>
19+
-IsInverted <bool>
20+
-Overwrite
21+
-Palette <SpoThemePalettePipeBind>
22+
[<CommonParameters>]
23+
```
24+
1425
## DESCRIPTION
1526

1627
The **Add-SPOTheme** cmdlet creates a new theme or updates an existing theme. The color palette settings can be passed as either a hash table or a dictionary.
@@ -52,7 +63,7 @@ $themepalette = @{
5263
"primaryText" = "#333"
5364
}
5465
55-
Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false
66+
Add-SPOTheme -Identity "Custom Cyan" -Palette $themepalette -IsInverted $false
5667
```
5768

5869
> [!NOTE]
@@ -63,7 +74,64 @@ Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false
6374
If you want to update an existing theme (to modify some of its color settings, for example), use the same syntax as shown previously, but add the `-Overwrite` flag to the **Add-SPOTheme** cmdlet.
6475

6576
```powershell
66-
Add-SPOTheme -Name "Custom Cyan" -Palette $themepalette -IsInverted $false -Overwrite
77+
Add-SPOTheme -Identity "Custom Cyan" -Palette $themepalette -IsInverted $false -Overwrite
78+
```
79+
## PARAMETERS
80+
81+
### -Identity
82+
83+
```yaml
84+
Type: SpoThemePalettePipeBind
85+
Parameter Sets: (All)
86+
Aliases: Name
87+
Applicable: SharePoint Online
88+
Required: True
89+
Position: Named
90+
Default value: None
91+
Accept pipeline input: False
92+
Accept wildcard characters: False
93+
```
94+
95+
### -IsInverted
96+
97+
```yaml
98+
Type: Boolean
99+
Parameter Sets: (All)
100+
Aliases: None
101+
Applicable: SharePoint Online
102+
Required: True
103+
Position: Named
104+
Default value: None
105+
Accept pipeline input: False
106+
Accept wildcard characters: False
107+
```
108+
109+
### -Overwrite
110+
111+
```yaml
112+
Type: SwitchParameter
113+
Parameter Sets: (All)
114+
Aliases: None
115+
Applicable: SharePoint Online
116+
Required: False
117+
Position: Named
118+
Default value: None
119+
Accept pipeline input: False
120+
Accept wildcard characters: False
121+
```
122+
123+
### -Palette
124+
125+
```yaml
126+
Type: SpoThemePalettePipeBind
127+
Parameter Sets: (All)
128+
Aliases: None
129+
Applicable: SharePoint Online
130+
Required: True
131+
Position: Named
132+
Default value: None
133+
Accept pipeline input: False
134+
Accept wildcard characters: False
67135
```
68136
69137
## INPUTS

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOSiteScript.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Set-SPOSiteScript
1919
-Title <string>
2020
-Content <string>
2121
[-Description <string>]
22+
[-Version <Int32>]
2223
[<CommonParameters>]
2324
```
2425

@@ -33,6 +34,7 @@ Updates a previously uploaded site script.
3334
This example updates a previously created site script. Any site designs referencing it execute the updated script.
3435

3536
```
37+
$newnavscript = @'
3638
{
3739
"$schema": "schema.json",
3840
"actions": [
@@ -55,7 +57,11 @@ This example updates a previously created site script. Any site designs referenc
5557
],
5658
"bindata": { },
5759
"version": 2
58-
}
60+
};
61+
'@
62+
63+
Set-SPOSiteScript -Identity edaec4ec-71e2-4026-ac1e-6686bb30190d -Content $newnavscript -Version 2
64+
5965
```
6066

6167
## PARAMETERS
@@ -123,6 +129,21 @@ Default value: None
123129
Accept pipeline input: False
124130
Accept wildcard characters: False
125131
```
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+
```
126147
127148
128149
## INPUTS

sharepoint/sharepoint-ps/sharepoint-online/sharepoint-online.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ The following cmdlet references are for SharePoint Online.
5858
### [Export-SPOUserInfo](Export-SPOUserInfo.md)
5959
{{Manually Enter Export-SPOUserInfo Description Here}}
6060

61-
### [Get-SPO365LinkSettings](Get-SPO365LinkSettings.md)
62-
{{Manually Enter Get-SPO365LinkSettings Description Here}}
63-
6461
### [Get-SPOAppErrors](Get-SPOAppErrors.md)
6562
{{Manually Enter Get-SPOAppErrors Description Here}}
6663

@@ -307,9 +304,6 @@ The following cmdlet references are for SharePoint Online.
307304
### [Revoke-SPOUserSession](Revoke-SPOUserSession.md)
308305
{{Manually Enter Revoke-SPOUserSession Description Here}}
309306

310-
### [Set-SPO365LinkSettings](Set-SPO365LinkSettings.md)
311-
{{Manually Enter Set-SPO365LinkSettings Description Here}}
312-
313307
### [Set-SPODataConnectionSetting](Set-SPODataConnectionSetting.md)
314308
{{Manually Enter Set-SPODataConnectionSetting Description Here}}
315309

@@ -386,4 +380,4 @@ The following cmdlet references are for SharePoint Online.
386380
{{Manually Enter Upgrade-SPOSite Description Here}}
387381

388382

389-
<!--updated March 6, 2018; moved cmdlets from https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell; added items from TOC that were missing on this page-->
383+
<!--updated March 6, 2018; moved cmdlets from https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell; added items from TOC that were missing on this page-->

0 commit comments

Comments
 (0)