Skip to content

New command: m365 spe containertype list #5989

Description

@Adam-it

Usage

m365 spe containertype list [options]

Description

Lists Container Types

Options

I do not think we will have any option here. The general idea of this command is to list all container types. If needed we may always use the standard --query option to filter the result for example by applicationID

Examples

Lists all Container Types

m365 spe containertype list

Default properties

  • ContainerTypeId
  • ContainerTypeName
  • OwningApplicationId

Additional Info

We may use CSOM for this command passing the following

`${adminUrl}/_vti_bin/client.svc/ProcessQuery`
<Request AddExpandoFieldTypeSuffix="true" SchemaVersion="15.0.0.0" LibraryVersion="16.0.0.0" ApplicationName="SharePoint Online PowerShell (16.0.24322.0)"
    xmlns="http://schemas.microsoft.com/sharepoint/clientquery/2009">
    <Actions>
        <ObjectPath Id="46" ObjectPathId="45" />
        <Method Name="GetSPOContainerTypes" Id="47" ObjectPathId="45">
            <Parameters>
                <Parameter Type="Enum">1</Parameter>
            </Parameters>
        </Method>
    </Actions>
    <ObjectPaths>
        <Constructor Id="45" TypeId="{268004ae-ef6b-4e9b-8425-127220d84719}" />
    </ObjectPaths>
</Request>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions