PowerShell commands library for the on-premises data gateway

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Note

These release notes describe functionality that may not have been released yet. To see when this functionality is planned to release, please review Summary of what’s new. Delivery timelines and projected functionality may change or may not ship (see Microsoft policy).

The on-premises data gateway PowerShell cmdlets are available in the public PowerShell gallery.

Use the PowerShell commands to:

  • Retrieve the list of gateway clusters that are available for a user.

  • Retrieve the list of gateway instances registered in a cluster, and their online or offline status.

  • Modify the enable/disable status for a gateway instance within a cluster, and other gateway properties.

  • Delete a gateway.

To use the commands, you don’t need to use the same computer where the gateway is installed.