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
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ShowEncryptionKey
Show encryption key details.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
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.