Get-SPOContainerType

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

語法

ParamSet1

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

Description

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

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

若是具有計費設定檔的標準容器類型,此 Cmdlet 會顯示 AzureSubscriptionId 給所有 SharePoint Embedded 系統管理員。 您不需要計費訂閱的權限即可檢視此識別碼。

其他計費資訊 ,包括 ResourceGroup 和 Region,只有對附加至容器類型的計費訂閱具有擁有者或參與者存取權的系統管理員才能看到。

如需適用於 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