Get-SPOContainerType
返回在租户中创建的一个或多个容器类型。
语法
ParamSet1
Get-SPOContainerType
[[-ContainerTypeId] <Guid>]
[<CommonParameters>]
说明
此 cmdlet 返回租户中存在的所有容器类型,或与 ContainerTypeId 参数配对时特定容器类型的详细信息。
必须是 SharePoint Embedded 管理员才能运行 cmdlet。
对于具有计费配置文件的标准容器类型,此 cmdlet 将显示 AzureSubscriptionId 给所有 SharePoint Embedded 管理员。 无需拥有计费订阅的权限即可查看此 ID。
其他计费信息(包括 ResourceGroupRegion和 )仅对附加到容器类型的计费订阅具有所有者或参与者访问权限的管理员可见。
有关用于 SharePoint Embedded Containers 的 Windows PowerShell 的权限和最新信息,请参阅 SharePoint Embedded Containers 命令行管理程序简介中的文档。
示例
示例 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。