Remove-PowerBIReport
刪除 Power BI 報表。
語法
Remove-PowerBIReport
-Id <Guid>
[<CommonParameters>]
Remove-PowerBIReport
-Id <Guid>
-WorkspaceId <Guid>
[<CommonParameters>]
Remove-PowerBIReport
-Id <Guid>
-Workspace <Workspace>
[<CommonParameters>]
Description
從工作區移除Power BI報表。 如果未指定任何工作區,則會使用您的個人 [我的工作區]。 執行此命令之前,請確定您使用 Connect-PowerBIServiceAccount 登入。
範例
範例 1
PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0 -WorkspaceId ccd01-bif87-abc12-34efg
從標識符為 'ccd01-bif87-abc12-34efg' 的工作區中刪除 GUID '12345-abc56-jkl56-700a0' 的報表。
範例 2
PS C:\> Remove-PowerBIReport -Id 12345-abc56-jkl56-700a0
從您的個人工作區中刪除 GUID 為 '12345-abc56-jkl56-700a0' 的報表。
參數
-Id
要刪除之報表的標識碼。
類型: | Guid |
別名: | ReportId |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-Workspace
包含要刪除之報表的 Workspace 物件。
類型: | Workspace |
別名: | Group |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-WorkspaceId
包含要刪除之報表的工作區標識碼。
類型: | Guid |
別名: | GroupId |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
None
輸出
System.Void