Creates a copy of the specified Power BI report in the same Power BI workspace or in a different workspace and rebinds the report to a referenced dataset in the target workspace.
Creates a copy of the report with ID "30ca8f24-f628-45f7-a5ac-540c95e9b5e6" from 'My Workspace' in the target workspace with ID "6439d4d4-18c4-4762-b755-1f957d55383e", assigns the report copy the name "Report Copy", and binds it to the dataset with the ID "74f6adb5-93eb-49d8-918c-6df248cb73dd".
Creates a copy of the report with ID "bd200f64-46f1-4f82-b09f-c7fd6818d67c"" from the workspace with the ID "6439d4d4-18c4-4762-b755-1f957d55383e" in 'My Workspace' as the target workspace, assigns the report copy the name "Report Copy", and binds it to the dataset with the ID "1b46e4dc-1299-425b-97aa-c10d51f82a06".
Creates a copy of the report with ID "30ca8f24-f628-45f7-a5ac-540c95e9b5e6" in the same workspace, assigns the report copy the name "Report Copy", and binds it to the dataset that the original report is associated with.
Paramètres
-Id
The ID of the original report to copy.
Parameter properties
Type:
Guid
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Alias:
ReportId
Parameter sets
Id
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
True
Value from remaining arguments:
False
-Name
The new report name that will be assigned to the copied report.
Parameter properties
Type:
String
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
Id
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Report
The original report object, as obtained by using the Get-PowerBIReport cmdlet.
Parameter properties
Type:
Report
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Parameter sets
WorkspaceObject
Position:
Named
Mandatory:
True
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-TargetDatasetId
Optional parameter for specifying the target associated dataset ID. If empty, the new report will be associated with the same dataset as the source report.
Parameter properties
Type:
String
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Alias:
TargetModelId
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-TargetWorkspaceId
The ID of the target workspace. Empty Guid (00000000-0000-0000-0000-000000000000) indicates 'My Workspace'. Empty string indicates new report will be copied within the same workspace as the source report.
Parameter properties
Type:
String
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Alias:
TargetGroupId
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-Workspace
The workspace object, as obtained by using the Get-PowerBIWorkspace cmdlets, where the original report is located. If empty, source workspace is 'My Workspace'.
Parameter properties
Type:
Workspace
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Alias:
Group
Parameter sets
(All)
Position:
Named
Mandatory:
False
Value from pipeline:
False
Value from pipeline by property name:
False
Value from remaining arguments:
False
-WorkspaceId
The ID of the workspace where the original report is located. If empty, source workspace is 'My Workspace'.
Parameter properties
Type:
String
Valeur par défaut:
None
Supports wildcards:
False
DontShow:
False
Alias:
GroupId
Parameter sets
(All)
Position:
Named
Mandatory:
False
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.