Skip to content

Commit 424f140

Browse files
Merge pull request #1104 from RongqiZ/user/rongqizhou/AddGlobalThemeParam
add includeGlobalTheme for get-spotheme powershell command
2 parents 52477d8 + f833191 commit 424f140

File tree

1 file changed

+21
-1
lines changed
  • sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell

1 file changed

+21
-1
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ If the theme is in legacy format, the output will be:
9696
To return all uploaded themes, use the [**Get-SPOTheme**](./Get-SPOTheme.md) command with no arguments.
9797

9898
```powershell
99-
Get-SPOTheme
99+
Get-SPOTheme -IncludeGlobalTheme
100100
```
101101

102102
## PARAMETERS
@@ -119,6 +119,26 @@ Accept pipeline input: True (ByValue)
119119
Accept wildcard characters: False
120120
```
121121
122+
### -IncludeGlobalTheme
123+
124+
> Applicable: SharePoint Online
125+
126+
When specified, this cmdlet returns all global themes that are available to the tenant. This includes themes created using PowerShell as well as themes created in the Brand Center.
127+
128+
For satellite geos, `IncludeGlobalTheme` also returns the global themes that are defined in the primary geo.
129+
130+
```yaml
131+
Type: SwitchParameter
132+
Parameter Sets: (All)
133+
Aliases:
134+
135+
Required: False
136+
Position: Named
137+
Default value: None
138+
Accept pipeline input: False
139+
Accept wildcard characters: False
140+
```
141+
122142
### CommonParameters
123143

124144
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

0 commit comments

Comments
 (0)