Get-SPOContainerType
返回在租户中创建的一个或多个容器类型。
语法
ParamSet1
Get-SPOContainerType
[[-ContainerTypeId] <Guid>]
[<CommonParameters>]
说明
当与 ContainerTypeId 参数配对时,此 cmdlet 返回租户中存在的所有容器类型或特定容器类型的详细信息。
您必须是 SharePoint Embedded 管理员才能运行 cmdlet。
虽然容器类型的基本信息显示给运行此 cmdlet 的所有管理员,但有关容器类型的计费信息仅对附加到容器类型的计费订阅拥有所有者或参与者访问权限的管理员可见。
有关 SharePoint Embedded Containers 的权限和Windows PowerShell的最新信息,请参阅 SharePoint Embedded Containers Management Shell 简介中的文档。
示例
示例 1
Get-SPOContainerType
示例 1 检索租户中存在的所有容器类型,并显示特定于容器类型的信息。
示例 2
Get-SPOContainerType -ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e
示例 2 返回容器类型 1ea46f96-515c-49b5-bac5-002c33a5fa0e 的详细属性。
参数
-ContainerTypeId
适用:SharePoint Online
此参数指定与 SharePoint Embedded 应用程序相对应的容器类型的 ID。
参数属性
| 类型: | System.Guid |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | 0 |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。