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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
sudheerkumar
New Member

Install Desktop Power BI Using PowerShell

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.

sudheerkumar_0-1717150561272.png

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.

1 REPLY 1
Anonymous
Not applicable

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.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.