Get-PnPTenantTheme

Returns all or a specific theme

Syntax

Get-PnPTenantTheme
   [-Name <String>]
                     [-Connection <SPOnlineConnection>]

Description

Returns all or a specific tenant theme.

Examples

------------------EXAMPLE 1------------------

Get-PnPTenantTheme

Returns all themes

------------------EXAMPLE 2------------------

Get-PnPTenantTheme -Name "MyCompanyTheme"

Returns the specified theme

Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Name

The name of the theme to retrieve

Type:String
Position:0
Accept pipeline input:True
Accept wildcard characters:False