Forum Discussion

vishy4271's avatar
vishy4271
Frequent Visitor
7 years ago

Power Shell cmdlets for getting the workspace and dashboard details

Hi All,

 

Would like to understand is there any single Power Shell Script that would help me get the Workspace, Related Dashboard , Report etc details. I know we do have different cmdlets but is there any way wherein it can be combined into one and we can save it in csv format. Below is the basic powershell script which I want to further improve so that I can get all the related dashboard and report in a single go.

 

Login-PowerBI
$items = Get-PowerBIDashboard -WorkspaceId 'XXXXXX-XXXX-XX-$$$$$$$$$$$$$'

$items

$Items | Export-Csv Documents\ps.csv

No RepliesBe the first to reply