A PowerShell script module is included in the installation of the On-premises data gateway to support the management of gateway clusters. Once the module is imported to a session of PowerShell in which the user has administrator privileges, a login command (Login-OnPremisesDataGateway) must be be executed to enable other gateway management commands.
By default, the PowerShell module file (.psm1) can be imported from the following path:
Unlike the Manage gateways portal in the Power BI service, the PowerShell commands provide access to the specific gateway instances ...