New-PowerBIDashboard
Creates a new empty Power BI dashboard.
Syntax
New-PowerBIDashboard
-Name <String>
[<CommonParameters>]
New-PowerBIDashboard
-Name <String>
-WorkspaceId <Guid>
[<CommonParameters>]
New-PowerBIDashboard
-Name <String>
-Workspace <Workspace>
[<CommonParameters>]
Description
Creates a new empty dashboard in "My Workspace" or in a specified workspace.
Examples
Example 1
PS C:\> New-PowerBIDashboard -Name "New Dashboard"
Creates a new dashboard called "New Dashboard" in "My Workspace".
Example 2
PS C:\> New-PowerBIDashboard -Name "New Dashboard" -WorkspaceId 084d15de-4c96-4a66-97b4-c60914a0973c
Creates a new dashboard called "New Dashboard" in an existing workspace with ID "084d15de-4c96-4a66-97b4-c60914a0973c".
Parameters
-Name
Name of the dashboard.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Workspace
Workspace object, as returned by the Get-PowerBIWorkspace cmdlet, in which the dashboard should be created.
Type: | Workspace |
Aliases: | Group |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WorkspaceId
ID of the workspace in which the dashboard should be created.
Type: | Guid |
Aliases: | GroupId |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.PowerBI.Common.Api.Reports.Dashboard