Share via


Get-SPOContainerType

Returns one or more container types created in the tenant.

Syntax

ParamSet1

Get-SPOContainerType
    [[-ContainerTypeId] <Guid>]
    [<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

Applicable: SharePoint Online

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

Parameter properties

Type:System.Guid
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object