Share via


Get-DataGatewayClusterDatasource

Gets Power BI data sources for gateway clusters the user is an admin of.

Syntax

Default (Default)

Get-DataGatewayClusterDatasource
    -GatewayClusterId <Guid>
    [-GatewayClusterDatasourceId <Guid>]
    [<CommonParameters>]

Description

Gets details of the specified Power BI datasource from the specified gateway cluster

Examples

Example 1

PS C:\> Get-DataGatewayClusterDatasource -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77

Get all datasources on the specified gateway cluster DC8F2C49-5731-4B27-966B-3DB5094C2E77

Example 2

PS C:\> Get-DataGatewayClusterDatasource -GatewayClusterId DC8F2C49-5731-4B27-966B-3DB5094C2E77 -GatewayClusterDatasourceId 64C574B7-86C6-4560-B710-40AC18990804

Gets details for the specified datasource id DC8F2C49-5731-4B27-966B-3DB5094C2E77 on gateway cluster 64C574B7-86C6-4560-B710-40AC18990804

Example 3

PS C:\> Get-DataGatewayCluster | Get-DataGatewayClusterDatasource

Gets a list of all datasources across all gateway clusters which the user is an admin of.

Parameters

-GatewayClusterDatasourceId

Data source for which details are being fetched

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False
Aliases:DatasourceId, Datasource

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-GatewayClusterId

Gateway cluster for which a specific data source or all data sources are being fetched

Parameter properties

Type:Guid
Default value:None
Supports wildcards:False
DontShow:False
Aliases:Cluster, Id

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
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.

Inputs

None

Outputs

Microsoft.DataMovement.Powershell.GatewayClient.Gateways.Entities.GatewayClusterDatasource