Get-PnPDocumentSetTemplate

Retrieves a document set template

Syntax

Get-PnPDocumentSetTemplate
   -Identity <DocumentSetPipeBind>
                             [-Includes <String[]>]
                             [-Web <WebPipeBind>]
                             [-Connection <SPOnlineConnection>]

Examples

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

Get-PnPDocumentSetTemplate -Identity "Test Document Set"

This will get the document set template with the name "Test Document Set"

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

Get-PnPDocumentSetTemplate -Identity "0x0120D520005DB65D094035A241BAC9AF083F825F3B"

This will get the document set template with the id "0x0120D520005DB65D094035A241BAC9AF083F825F3B"

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
-Identity

Either specify a name, an id, a document set template object or a content type object

Type:DocumentSetPipeBind
Position:0
Accept pipeline input:True
Accept wildcard characters:False
-Includes

Specify properties to include when retrieving objects from the server.

Type:String[]
Position:0
Accept pipeline input:False
Accept wildcard characters:False
-Web

The web to apply the command to. Omit this parameter to use the current web.

Type:WebPipeBind
Position:Named
Accept pipeline input:False
Accept wildcard characters:False

Outputs

Microsoft.SharePoint.Client.DocumentSet.DocumentSetTemplate