In this repository, you can find PowerShell Scripts I made to simplify and / or automate tasks in Power BI.
- PowerShell 7 (Preferred) or Windows PowerShell
- PowerShell with Power BI Management modules installed. See Microsoft documentation
- Power BI tenant admin permissions
| Script | Description | Status | Related Article |
|---|---|---|---|
| ReassignCapacity_v1.1.ps1 | Reassigns a list of workspaces from their current Premium Capacity to a different target Premium Capacity using the Power BI REST API. The script first unassigns the workspaces from their current capacity and then assigns them to the specified target capacity. | ✅Released | 🔗Assign multiple Power BI workspaces to a different Premium Capacity |
| AddUserToWorkspace_v1.0.ps1 | Add a user or a group to a list of Power BI workspaces or to all workspaces in your Organization. | 🚧 WIP | |
| CreateWorkspaces_v1.0.ps1 | Create workspaces from a list of inputs in a CSV file. | 🚧 WIP |