Get-PowerBICapacity
傳回 Power BI 容量的清單。
Syntax
Get-PowerBICapacity
[-Scope <PowerBIUserScope>]
[-ShowEncryptionKey]
[<CommonParameters>]
Description
擷取符合指定範圍的 Power BI 容量清單。
執行此命令之前,請確定您使用 Connect-PowerBIServiceAccount 登入。
範例
範例 1
PS C:\> Get-PowerBICapacity -Scope Organization -ShowEncryptionKey
參數
-Scope
表示呼叫的範圍。 個別只會傳回指派給呼叫端的容量;組織會傳回租使用者內的所有容量 (必須是系統管理員才能起始) 。 個別是預設值。
Type: | PowerBIUserScope |
Accepted values: | Individual, Organization |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ShowEncryptionKey
顯示加密金鑰詳細資料。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
輸入
None
輸出
System.Collections.Generic.IEnumerable`1[[Microsoft.PowerBI.Common.Api.Capacities.Capacity, Microsoft.PowerBI.Common.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應