Commands › Power BI

Get-PowerBICapacity

Power BI MicrosoftPowerBIMgmt Get-*

Returns a list of Power BI capacities.

Quick start script

# Get-PowerBICapacity — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-PowerBIServiceAccount -ServicePrincipal -CertificateThumbprint $thumb -ApplicationId $appId -Tenant $tenantId

# 2. Run and inspect
Get-PowerBICapacity | Format-List

# 3. Export for evidence / drift tracking
Get-PowerBICapacity | Export-Clixml .\PowerBICapacity-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-PowerBICapacity [-Scope <PowerBIUserScope>] [-ShowEncryptionKey] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Scope PowerBIUserScope Indicates scope of the call. Individual returns only capacities assigned to the caller; Organization returns all capacities within a tenant (must be an administrator to initiate). Individual is the default.
-ShowEncryptionKey SwitchParameter Show encryption key details.

Reference facts derived from Microsoft documentation, © Microsoft, licensed MIT; restructured with original guidance by serv365.ai.