Remove-PowerBIReport
Deletes a Power BI report.
Syntax
MyWorkspace (Default)
Remove-PowerBIReport
-Id <Guid>
[<CommonParameters>]
WorkspaceId
Remove-PowerBIReport
-Id <Guid>
-WorkspaceId <Guid>
[<CommonParameters>]
Workspace
Remove-PowerBIReport
-Id <Guid>
-Workspace <Workspace>
[<CommonParameters>]
Description
Removes a Power BI report from a workspace. If no workspace is specified, your personal (My Workspace) is used. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.
Examples
Example 1
PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0 -WorkspaceId ccd01-bif87-abc12-34efg
Deletes a report with the GUID, '12345-abc56-jkl56-700a0', from the Workspace with ID of 'ccd01-bif87-abc12-34efg'.
Example 2
PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0
Deletes a report with the GUID of '12345-abc56-jkl56-700a0' from your personal workspace.
Parameters
-Id
Id of the report to be deleted.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | ReportId |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Workspace
Workspace object that contains the report to be deleted.
Parameter properties
Type: | Workspace |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | Group |
Parameter sets
Workspace
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WorkspaceId
Id of the workspace that contains the report to be deleted.
Parameter properties
Type: | Guid |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | GroupId |
Parameter sets
WorkspaceId
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
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.