title: 'Add a virtual network gateway to a VNet for ExpressRoute: PowerShell: Azure | Microsoft Docs' description: This article walks you through adding a VNet gateway to an already created Resource Manager VNet for ExpressRoute. documentationcenter: na services: expressroute author: charwen manager: timlt editor: '' tags: azure-resource-manager
ms.assetid: 63e0bd60-abad-4963-8e27-3aa973e0d968 ms.service: expressroute ms.devlang: na ms.topic: article ms.tgt_pltfrm: na ms.workload: infrastructure-services ms.date: 04/17/2017 ms.author: charwen
[!div class="op_single_selector"]
This article walks you through the steps to add, resize, and remove a virtual network (VNet) gateway for a pre-existing VNet. The steps for this configuration are specifically for VNets that were created using the Resource Manager deployment model that will be used in an ExpressRoute configuration. For more information about virtual network gateways and gateway configuration settings for ExpressRoute, see About virtual network gateways for ExpressRoute.
Verify that you have installed the latest Azure PowerShell cmdlets. If you haven't installed the latest cmdlets, you need to do so before beginning the configuration steps. For more information, see Install and configure Azure PowerShell.
[!INCLUDE expressroute-gateway-rm-ps]
After you have created the VNet gateway, you can link your VNet to an ExpressRoute circuit. See Link a Virtual Network to an ExpressRoute circuit.