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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi Power BI Community,
I've been tasked to deploy Power BI to an undefined amount of users. I have an install script which works well
Start-Process -FilePath msiexec.exe -ArgumentList /i, C:\Documents\PBI\Install\PBIDesktop_x64.msi, /passive, ACCEPT_EULA=1 -Wait
I've looked up forum after forum, and I'm struggling to automate de-installation. Using .msi's switch /X, I need the Product Code for Power BI to uninstall. The product code below was from here
Start-Process -FilePath msiexec.exe -ArgumentList /X{6BD53F08-57BA-4CF1-94B0-F08151E41383}, /qn, /norestart -Wait
Are there any glaring/obvious omissions/mistakes on my part?
Thanks,
Ronan
Solved! Go to Solution.
Using the .msi file works .
Install
Start-Process -FilePath msiexec.exe -ArgumentList /i, $ProjectHome\PBIDesktop_x64.msi, /passive, ACCEPT_EULA=1 -Wait
Uninstall
Start-Process -FilePath msiexec.exe -ArgumentList /uninstall, $ProjectHome\PBIDesktop_x64.msi, /passive, /norestart -Wait
Hope that helps someone else too
Ronan
Using the .msi file works .
Install
Start-Process -FilePath msiexec.exe -ArgumentList /i, $ProjectHome\PBIDesktop_x64.msi, /passive, ACCEPT_EULA=1 -Wait
Uninstall
Start-Process -FilePath msiexec.exe -ArgumentList /uninstall, $ProjectHome\PBIDesktop_x64.msi, /passive, /norestart -Wait
Hope that helps someone else too
Ronan
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 68 | |
| 61 | |
| 45 | |
| 19 | |
| 15 |
| User | Count |
|---|---|
| 108 | |
| 107 | |
| 39 | |
| 30 | |
| 26 |