Get-PowerBIDataflow
Returns a list of Power BI dataflows.
Syntax
Get-PowerBIDataflow
[-Scope <PowerBIUserScope>]
[-Filter <String>]
[-First <Int32>]
[-Skip <Int32>]
[-WorkspaceId <Guid>]
[<CommonParameters>]
Get-PowerBIDataflow
-Id <Guid>
[-Scope <PowerBIUserScope>]
[-WorkspaceId <Guid>]
[<CommonParameters>]
Get-PowerBIDataflow
-Id <Guid>
[-Scope <PowerBIUserScope>]
-Workspace <Workspace>
[<CommonParameters>]
Get-PowerBIDataflow
-Name <String>
[-Scope <PowerBIUserScope>]
[-WorkspaceId <Guid>]
[<CommonParameters>]
Get-PowerBIDataflow
-Name <String>
[-Scope <PowerBIUserScope>]
-Workspace <Workspace>
[<CommonParameters>]
Get-PowerBIDataflow
[-Scope <PowerBIUserScope>]
[-Filter <String>]
[-First <Int32>]
[-Skip <Int32>]
-Workspace <Workspace>
[<CommonParameters>]
Description
Retrieves a list of Power BI dataflows that match the specified search criteria and scope. For -Scope Individual, dataflows are returned only from the specified workspace, using the given -Workspace or -WorkspaceId parameters. For -Scope Organization, dataflows could be returned from the entire user's organization. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.
Examples
Example 1
PS C:\> Get-PowerBIDataflow -WorkspaceId ed451706-2b02-430c-b25c-20c0842c6375
Returns a list of all Power BI dataflows in workpsace with ID ed451706-2b02-430c-b25c-20c0842c6375 that the user has access to.
Example 2
PS C:\> Get-PowerBIDataflow -Scope Organization
Returns a list of all Power BI dataflows within a user's organization.
Example 3
PS C:\> Get-PowerBIDataflow -Name "MyDataflow" -Scope Organization
Returns a dataflow with the Name "MyDataflow" from within all the organization.
Example 4
PS C:\> Get-PowerBIDataflow -WorkspaceId ed451706-2b02-430c-b25c-20c0842c6375 -First 20
Returns a list of the first 20 dataflows in a workspace with ID ed451706-2b02-430c-b25c-20c0842c6375 that the user has access to.
Example 5
PS C:\> Get-PowerBIDataflow -WorkspaceId ed451706-2b02-430c-b25c-20c0842c6375 -Id 672403a7-34b7-493c-8ab1-3f1066573dc5
Returns a dataflow with ID 672403a7-34b7-493c-8ab1-3f1066573dc5 in a workspace with ID ed451706-2b02-430c-b25c-20c0842c6375.
Example 6
PS C:\> Get-PowerBIDataflow -Scope Organization -Filter "configuredBy eq 'john@contoso.com'"
Returns all dataflows configured by 'john@contoso.com' within the user's organization.
Parameters
-Filter
OData filter, case-sensitive (element names start lowercase). Only supported when -Scope Organization is specified.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-First
First (top) list of results.
Type: | Int32 |
Aliases: | Top |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Id
ID of the dataflow to return.
Type: | Guid |
Aliases: | DataflowId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of the dataflow to return if one exists with that name. Case insensitive search.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scope
Indicates the scope of the call. Individual scope must be run with -Workspace or -WorkspaceId parameters. Organization scope returns all dataflows within a tenant (must be an administrator to initiate). Individual is the default.
Type: | PowerBIUserScope |
Accepted values: | Individual, Organization |
Position: | Named |
Default value: | Individual |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Skip
Skips the first set of results.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Workspace
Workspace to filter results to, only dataflows belonging to that workspace are shown. Supports pipelining of Cmdlets that return Workspace objects.
Type: | Workspace |
Aliases: | Group |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WorkspaceId
ID of the workspace to filter results to, only dataflows belonging to that workspace are shown.
Type: | Guid |
Aliases: | GroupId |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object