Get-PnPHideDefaultThemes

Returns if the default / OOTB themes should be visible to users or not.

Syntax

Get-PnPHideDefaultThemes
   [-Connection <SPOnlineConnection>]

Description

Returns if the default themes are visible. Use Set-PnPHideDefaultThemes to change this value.

You must be a SharePoint Online global administrator to run the cmdlet.

Examples

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

Get-PnPHideDefaultThemes

This example returns the current setting if the default themes should be visible

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