< Back

Copy-PBIReports

Sat Jan 18, 2020 8:41 pm

NAME Copy-PBIReports



SYNOPSIS

Duplicate reports by suppling a list of the reports to copy.

Returns an object containing the new reports' metadata.





SYNTAX

Copy-PBIReports [-authToken <String>] -report <Object> [-targetName <String>] [-targetWorkspaceId <String>]

[-targetModelId <String>] [-groupId <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-authToken <String>

The authorization token required to comunicate with the PowerBI APIs

Use 'Get-PBIAuthToken' to get the authorization token string



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-report <Object>

The PBI Report Object or Report Id (GUID)



Required? true

Position? named

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-targetName <String>

Name of the report in the target workspace



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetWorkspaceId <String>

Target workspace id (GUID)



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-targetModelId <String>

Target dataset id (GUID)



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-groupId <String>



Required? false

Position? named

Default value

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



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-PBIReport | Copy-PBIReport -authToken $authToken -targetWorkspaceId GUID -targetDataSetId GUID















RELATED LINKS