< Back

Remove-PBIReport

Sat Jan 18, 2020 8:43 pm

NAME Remove-PBIReport



SYNOPSIS

Delete a report from a workspace





SYNTAX

Remove-PBIReport [[-authToken] <String>] [-report] <Object> [[-groupId] <String>] [<CommonParameters>]





DESCRIPTION

Delete a report from a workspace





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



-report <Object>

A report object or id



Required? true

Position? 2

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-groupId <String>

Id of the workspace



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



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



PS C:\\>Remove-PBIReport -dataset "dataset id"













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-PBIDataset -name "DataSetName" | Remove-PBIReport















RELATED LINKS