Get-DataGatewayClusterDatasource

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

Syntax

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

Type:Guid
Aliases:DatasourceId, Datasource
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-GatewayClusterId

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

Type:Guid
Aliases:Cluster, Id
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

None

Outputs

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