Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Get-PowerBICapacity

Returns a list of Power BI capacities.

Syntax

Default (Default)

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

Description

Retrieves a list of Power BI capacities that matches the specified scope.

Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.

Examples

Example 1

PS C:\> Get-PowerBICapacity -Scope Organization -ShowEncryptionKey

Parameters

-Scope

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.

Parameter properties

Type:PowerBIUserScope
Default value:None
Accepted values:Individual, Organization
Supports wildcards:False
DontShow:False

Parameter sets

-ShowEncryptionKey

Show encryption key details.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

Microsoft.PowerBI.Common.Api.Capacities.Capacity


Feedback

Was this page helpful?