Muokkaa

Jaa


Get-SPOContainerType

Returns one or more container types created in the tenant.

Syntax

Get-SPOContainerType
Get-SPOContainerType
   [-ContainerTypeId <ContainerTypeId>]

Description

This cmdlet returns all the container types present in the tenant or details of a specific container type when paired with the containertype ID parameter.

You must be a SharePoint Embedded Administrator to run the cmdlet.

For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at Intro to SharePoint Embedded Containers Management Shell.

Examples

Example 1

Get-SPOContainerType

Example 1 retrieves all the container types present in the tenant and displays container type specific information.

Example 2

Get-SPOContainerType -ContainerTypeId 4f0af585-8dcc-0000-223d-661eb2c604e4

Example 2 returns the detailed properties of container type 4f0af585-8dcc-0000-223d-661eb2c604e4

Parameters

-ContainerTypeId

This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint Online