Forum Discussion

RGI's avatar
RGI
Helper III
7 years ago

Powershell scripts to list all entities

Does anyone have a set of Powershell scripts that can be used to list all workspaces with dashboards, reports and datasets?

I'm hoping someone can save me the effort of building it myself.

Basically I'm wanting to list everything that an organisation has created so we can do a cleanup.

 

5 Replies

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi RGI,

     

    Could you please mark the proper answers as solutions?

     

    Best Regards,

    Dale

    • RGI's avatar
      RGI
      Helper III

      Hi Dale

      With all due respect if you read my original post you'll see that there is not yet a solution- just a link (by you) to commands we already know about. I was hoping there is a "ready" set of scripts that show all elements (i.e. all workspaces, all data sets within the said workspaces and all reports linked to those data sets). I've basically been building them myself, assuming nobody has such a set to share with me.

      • v-jiascu-msft's avatar
        v-jiascu-msft
        Microsoft Employee

        Hi RGI,

         

        Maybe something isn't that clear. Since the PowerShell script is many commands, we can just log in the Power BI and send a command. Then we can get the result. Please refer to the snapshot below.

        Maybe you'd like a piece of organized script to get everything?

        Powershell-scripts-to-list-all-entities

         

         

        Best Regards,
        Dale