Microsoft has added further cmdlets to its Power BI data gateway service, in order to allow for automated gateway installations. PowerShell 7 or higher will be required to run these commands.
Powershell cmdlets RSS
The On-premises data gateway service is picking up some new PowerShell cmdlets in preview. These aim to automate gateway management tasks and require PowerShell core 6.2.2 or higher to run.