< Back

Test-PBIDataSet

Sat Jan 18, 2020 8:44 pm

NAME Test-PBIDataSet



SYNOPSIS

Check if a dataset exists by name





SYNTAX

Test-PBIDataSet [[-authToken] <String>] [-name] <Object> [[-groupId] <String>] [<CommonParameters>]





DESCRIPTION

Check if a dataset exists with the specified name





PARAMETERS

-authToken <String>

The authorization token required to communicate with the PowerBI APIs

Use 'Get-PBIAuthToken' to get the authorization token string



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-name <Object>

The dataset name



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupId <String>

Id of the workspace where the reports will get pulled



Required? false

Position? 3

Default value

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



OUTPUTS

System.Boolean





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Test-PBIDataSet -authToken $authToken -name "DataSetName"



Returns $true if the dataset exists











RELATED LINKS