< Back

Get-PowerBICapacity

Sat Jan 18, 2020 4:12 pm

NAME Get-PowerBICapacity



SYNOPSIS

Returns a list of Power BI capacities.





SYNTAX

Get-PowerBICapacity [-Scope {Individual | Organization}] [-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.





PARAMETERS

-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.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ShowEncryptionKey [<SwitchParameter>]

Show encryption key details.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Collections.Generic.IEnumerable`1[[Microsoft.PowerBI.Common.Api.Capacities.Capacity,

Microsoft.PowerBI.Common.Api, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-PowerBICapacity -Scope Organization -Show EncryptionKey







RELATED LINKS