< Back

Remove-PowerBIReport

Sat Jan 18, 2020 4:15 pm

NAME Remove-PowerBIReport



SYNOPSIS

Deletes a Power BI report.





SYNTAX

Remove-PowerBIReport -Id <Guid> -Workspace <Workspace> [<CommonParameters>]



Remove-PowerBIReport -Id <Guid> -WorkspaceId <Guid> [<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.





PARAMETERS

-Id <Guid>

Id of the report to be deleted.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Workspace <Workspace>

Workspace object that contains the report to be deleted.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-WorkspaceId <Guid>

Id of the workspace that contains the report to be deleted.



Required? true

Position? named

Default value None

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

None







OUTPUTS

System.Void







NOTES









-------------------------- 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.



RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... werbirepor

t?view=powerbi-ps