Skip to content

Commit 4b9d662

Browse files
authored
Delete ER Direct Resource
Update PowerShell how-to-doc with guidance for how to delete the ExpressRoute Direct resource.
1 parent 054f365 commit 4b9d662

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

articles/expressroute/expressroute-howto-erdirect.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,12 @@ Create a circuit on the ExpressRoute Direct resource.
265265
AllowClassicOperations : False
266266
GatewayManagerEtag
267267
```
268-
268+
## Delete the resource
269+
Prior to deleting the ExpressRoute Direct resource, you first need to delete any ExpressRoute circuits created on the ExpressRoute Direct port pair.
270+
You can delete the ExpressRoute Direct resource by running the following command:
271+
```powershell
272+
Remove-azexpressrouteport -Name $Name -Resourcegroupname -$ResourceGroupName
273+
```
269274
## Next steps
270275

271276
For more information about ExpressRoute Direct, see the [Overview](expressroute-erdirect-about.md).

0 commit comments

Comments
 (0)