Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ This cmdlet returns the settings for a named existing theme, or for all uploaded
This example shows how to use the [**Get-SPOTheme**](./Get-SPOTheme.md) cmdlet to return the settings for the `"Custom Cyan"` theme created in the example for the [**Add-SPOTheme**](./Add-SPOTheme.md) cmdlet. Note that this example uses the PowerShell `ConvertTo-Json` filter to display the theme in JSON format.

```powershell
Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json -Depth 4
Get-SPOTheme -Name "Custom Cyan" -IncludeGlobalTheme | ConvertTo-Json -Depth 4
```

```Output
Expand Down Expand Up @@ -96,7 +96,7 @@ If the theme is in legacy format, the output will be:
To return all uploaded themes, use the [**Get-SPOTheme**](./Get-SPOTheme.md) command with no arguments.

```powershell
Get-SPOTheme
Get-SPOTheme -IncludeGlobalTheme
Copy link
Copy Markdown
Contributor

@samkabue samkabue Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-IncludeGlobalTheme

maybe change one of the examples to not have the -IncludeGlobalTheme param? to show it's not mandatory #Closed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good suggestion, removed the one to get single theme

```

## PARAMETERS
Expand All @@ -119,6 +119,26 @@ Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```

### -IncludeGlobalTheme

> Applicable: SharePoint Online

When specified, Get-SPOTheme returns all global themes that are available to the tenant. This includes themes created by using PowerShell as well as themes created in the Brand Center.
Copy link
Copy Markdown
Contributor

@samkabue samkabue Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Get-SPOTheme

"this cmdlet" #Closed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Copy link
Copy Markdown
Contributor

@samkabue samkabue Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by using

remove "by" #Closed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated


For satellite geos, IncludeGlobalTheme also returns the global themes that are defined in the primary geo.
Copy link
Copy Markdown
Contributor

@samkabue samkabue Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IncludeGlobalTheme

add backticks:

`IncludeGlobalTheme`
``` #Closed

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated


```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

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).
Expand Down