cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
trevorgermain Regular Visitor
Regular Visitor

How can we automate the install of Gateway using command line or powershell?

There doesn't appear to be a way for our DevOps team to control the automated install of the Gateway. I've tried command line, attempted using the common /? and -h switches to get command line args list.

 

This is a requirement from an enterprise perspective. How do we automate the Gateway install?

 

4 REPLIES 4
Super User
Super User

Re: How can we automate the install of Gateway using command line or powershell?

@trevorgermainThis thread seems to be what you are looking for.

Near SE WI? Join our PUG MSBIWI
trevorgermain Regular Visitor
Regular Visitor

Re: How can we automate the install of Gateway using command line or powershell?

Actually, that thread has to do with configuring and using Gateways via the REST Api. It doesn't address actually installing and configuring the .exe on the Windows' Server.

 

Our DevOps team are going to want to run a powershell or command line version of the gateway installer, including setting paths, recovery passwords, etc. in an automated way.

v-huizhn-msft Super Contributor
Super Contributor

Re: How can we automate the install of Gateway using command line or powershell?

Hi @trevorgermain,

As I tested, you can start the gateway exe using powershell and install it. But you need to configure it(account permisson and connect it to power bi service) if you want to use, which is related to the design of gateway. And there no clear document to describe the structure of gateway. You can create a support ticket to consult here.

Best Regards,
Angelia

trevorgermain Regular Visitor
Regular Visitor

Re: How can we automate the install of Gateway using command line or powershell?

You were able to install the gateway using PowerShell with no UI prompts? How did you do that? What exact command did you do?