Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
catcollector
Helper I
Helper I

Powershell Silent Update of Power BI Gateway

We were able to script an install of the Power BI Gateway using PowerShell, followed with the registration (done manually). Going forward, we are able to execute the same script to pick up the Power BI Gateway updates. However, during the update there's a wizard that pops-up and iirc (only done this once), we needed to select "Update" to complete the update. I'm looking for a way to "force" through the wizard for updates going forward (for lack of better term). I'm curious whether anyone has been able to accomplish this?

 

This is the script that fetches the .exe and installs the Gateway. In the case, where a Gateway is already installed, we can re-execute the script but it would run an update. At this point, a wizard shows up and we have to click through for the update. Looking to remove that step altogether and have the script complete the update.

 

$power_bi_gate_install_url ="https://download.microsoft.com/download/D/A/1/DA1FDDB8-6DA8-4F50-B4D0-18019591E182/GatewayInstall.ex..."
$power_bi_gate_download_path="$PSScriptRoot\GatewayInstall.exe"

 

#Installing Power BI Gateway
Write-Output "Installing Power BI GateWay =" $power_bi_gate_install_url
Invoke-WebRequest -Uri $power_bi_gate_install_url -OutFile $power_bi_gate_download_path
Write-Output "Initiating Install for Power BI Gtwy"
Start-Process -filepath $power_bi_gate_download_path -ArgumentList "/qb /norestart" -Wait

 

Thank you.

1 REPLY 1
Greg_Deckler
Community Champion
Community Champion

@catcollector A thought. Could you use Power Automate to run the script up until you get the prompt. Use button pushing magic and then run the rest of the script? So three steps in a Power Automate workflow essentially?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.