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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi,
I have a requirement like to Install Desktop POwerBI using PowerShell..
I can download software using Powershell but i I couldnt quiet the process after installation.
I want to automate below steps with the powershell Code.
Currently i'm using this code
$url = "https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x..."
$destination = "C:\Downloads\PBIDesktop_x64.exe"
# Use Invoke-WebRequest to download the file
Invoke-WebRequest -Uri $url -OutFile $destination
# Set the installer path to the downloaded executable
$installerPath = $destination
# Start the installation process using the downloaded executable
Start-Process -FilePath "C:\Downloads\PBIDesktop_x64.exe" -ArgumentList "/quiet" -Wait -NoNewWindow
Can anyone help me with the code
Thanks in advance.
Hi @sudheerkumar ,
Please try below code:
# Define the URL for downloading Power BI Desktop
$url = "https://download.microsoft.com/download/8/8/0/880BCA75-79DD-466A-927D-1ABF1F5454B0/PBIDesktopSetup_x64.exe"
# Specify the destination path for the downloaded installer
$destination = "C:\Downloads\PBIDesktop_x64.exe"
# Download the Power BI Desktop installer
Invoke-WebRequest -Uri $url -OutFile $destination
# Define the installation path (optional, change as needed)
$installPath = "C:\Program Files\Power BI Desktop"
# Start the silent installation process with additional parameters
Start-Process -FilePath $destination -ArgumentList "/quiet ACCEPT_EULA=1 INSTALLLOCATION=$installPath" -Wait -NoNewWindow
For more details on the command-line options available for Power BI Desktop installation, you can refer to the official documentation: Get Power BI Desktop - Power BI | Microsoft Learn
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.