共用方式為


Get-SPOContainerType

傳回在租用戶中建立的一或多個容器類型。

語法

ParamSet1

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

Description

此 Cmdlet 會傳回租用戶中存在的所有容器類型,或與參數配 ContainerTypeId 對時特定容器類型的詳細數據。

您必須是 SharePoint Embedded 系統管理員,才能執行 Cmdlet。

雖然容器類型的基本資訊會顯示給執行此 Cmdlet 的所有系統管理員,但容器類型的計費資訊只有對附加至容器類型的計費訂用帳戶也具有擁有者或參與者存取權的系統管理員才能看到。

如需適用於 SharePoint Embedded 容器的 Windows PowerShell 的權限和最新資訊,請參閱 SharePoint Embedded 容器管理命令介面簡介中的檔。

範例

範例 1

Get-SPOContainerType

範例 1 會擷取租用戶中存在的所有容器類型,並顯示容器類型特定資訊。

範例 2

Get-SPOContainerType -ContainerTypeId 1ea46f96-515c-49b5-bac5-002c33a5fa0e

範例 2 會傳回容器類型 1ea46f96-515c-49b5-bac5-002c33a5fa0e 的詳細屬性。

參數

-ContainerTypeId

適用:SharePoint Online

此參數會指定對應至 SharePoint Embedded 應用程式之容器類型的識別碼。

參數屬性

類型: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

輸入

None

輸出

System.Object