Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Install / Uninstall via PowerShell

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:\...
  • Anonymous's avatar
    Anonymous
    8 years ago

    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