Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register 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.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 48 | |
| 45 | |
| 41 | |
| 20 | |
| 17 |
| User | Count |
|---|---|
| 69 | |
| 63 | |
| 32 | |
| 31 | |
| 23 |