Get-SPOContainerType

Returns one or more container types created in the tenant.

Syntax

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

Description

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

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

While the basic information of container types is displayed to all administrators running this cmdlet, the billing information about a container type is only visible to administrators who also have owner or contributor access on the billing subscription attached to the container type.

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

Example 2 returns the detailed properties of container type 4f0af585.

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