Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hello,
I have a requirement where I have to open PowerBI Desktop Application via PowerShell & also open a PBIX File using PowerShell.
Can someone help me with this ?
Solved! Go to Solution.
Hi @Rohitb ,
At my knowledge, we can get path of the .pbix file and open power bi desktop with the .pbix file using powershell.
Sample:
$PowerBIFilePath = "C:\*** "
Start-Process -FilePath $PowerBIFilePath
Best Regards,
Wearsky
Open PowerShell:
Place PBIDesktop file path between double quotes, like this:
Start-Process -FilePath "C:\Program Files\Microsoft Power BI Desktop RS\bin\PBIDesktop.exe"
for PBIX files:
Place your file path between double quotes, like this:
Start-Process -FilePath "C:\Users\Ahadk\OneDrive\Desktop\test.pbix"
Hey @ahadkarimi
Opening the pbix was already stated by @Anonymous .
The next ask from the user is to save the opened file as another format.
Hi @Rohitb ,
At my knowledge, we can get path of the .pbix file and open power bi desktop with the .pbix file using powershell.
Sample:
$PowerBIFilePath = "C:\*** "
Start-Process -FilePath $PowerBIFilePath
Best Regards,
Wearsky
Thankyou for your response @Anonymous .
How do I save the PowerBI File as PBIT/PBIP using PowerShell ?
Hi @Rohitb ,
I'm afraid that this requirement cannot be easily implemented with PowerShell. This may require programming experience with PowerShell and .NET. As a simple workaround, please try Power Automate Desktop.
Sample:
You can record your operation steps, such as saving, etc…
Best Regards,
Wearsky
@Anonymous Thankyou for your response.
I have already explored Power Automate way but we want to explore via PowerShell/Python/.Net
Can you please help with either of the 3 coding language ?
I am not sure whether this is even possible because based on MSFT documentation; the only was is for it to be done manually
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 58 | |
| 45 | |
| 21 | |
| 18 |
| User | Count |
|---|---|
| 120 | |
| 117 | |
| 37 | |
| 35 | |
| 30 |