This Azure PowerShell article will discuss the syntax and usage of the Get-AzRouteTable Azure PowerShell cmdlet with usage examples.
Table of Contents
Get-AzRouteTable
The Get-AzRouteTable PowerShell command can help you to retrieve the route tables under a specified Resource Group.
Syntax of Get-AzRouteTable
Below is the syntax of the Get-AzRouteTable PowerShell command.
Get-AzRouteTable
[-ResourceGroupName <String>]Get-AzRouteTable
-ResourceGroupName <String>
-Name <String>Let’s discuss a few examples of how to use the Get-AzRouteTable PowerShell command.
Example-1:
Run the below PowerShell command to get the lists of available Routing tables under the “DEMORG1” Resource Group.
Get-AzRouteTable -ResourceGroupName "DEMORG1"After executing the above command, I got the below output
Name : TsinfoRT
ResourceGroupName : DEMORG1
Location : northeurope
Id : /subscriptions/1cdf4300-dee5-4518-9c9c-feaa72a5cbd1/resourceGroups
/DEMORG1/providers/Microsoft.Network/routeTables/TsinfoRT
Etag : W/"53bc26b8-c27b-4f38-bffe-2f9a6944914a"
ProvisioningState : Succeeded
Tags :
Routes : []
Subnets : []Check out the screenshot below to see the same output

Example-2:
You can run the below PowerShell command to get the “TsinfoRT” Routing table details under the “DEMORG1” Resource Group.
Get-AzRouteTable -ResourceGroupName "DEMORG1" -Name "TsinfoRT"You can check out my expected output in the screenshot below.

Get-AzRouteTable PowerShell Command – Video Tutorial
You may be interested to check out the below articles
Final Thoughts
Well, in this Azure PowerShell article, we discussed the syntax and usage of the Get-AzRouteTable PowerShell command. Thanks for reading this article !!!

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
