Remove-SPOTheme
Removes a theme from the theme gallery.
Syntax
Remove-SPOTheme
[-Identity] <SpoThemePipeBind>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Remove-SPOTheme cmdlet removes a theme from your tenant store.
Examples
Example 1
This example removes the "Custom Cyan" theme that was used in the previous examples for the Add-SPOTheme and Get-SPOTheme cmdlets.
Remove-SPOTheme -Identity "Custom Cyan"
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
-Identity
Name of the theme to remove.
| Type: | SpoThemePipeBind |
| Aliases: | Name |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
Microsoft.Online.SharePoint.PowerShell.SpoThemePipeBind
Outputs
System.Object
Feedback
Submit and view feedback for