Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
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
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |