Skip to content

Commit c4e7a04

Browse files
Merge pull request #289433 from halkazwini/nw-route-ps
Updates: Diagnose a virtual machine network routing problem - Azure PowerShell
2 parents f54a8a0 + 198c45f commit c4e7a04

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

articles/network-watcher/diagnose-vm-network-routing-problem-powershell.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,28 @@ description: In this article, you learn how to diagnose a virtual machine networ
55
author: halkazwini
66
ms.service: azure-network-watcher
77
ms.topic: how-to
8-
ms.date: 01/07/2021
8+
ms.date: 10/29/2024
99
ms.author: halkazwini
1010
ms.custom: devx-track-azurepowershell
11+
1112
# Customer intent: I need to diagnose virtual machine (VM) network routing problem that prevents communication to different destinations.
1213
---
1314

14-
# Diagnose a virtual machine network routing problem - Azure PowerShell
15+
# Diagnose a virtual machine network routing problem using PowerShell
16+
17+
In this article, you learn how to use Azure Network Watcher [next hop](network-watcher-next-hop-overview.md) tool to troubleshoot and diagnose a virtual machine (VM) routing problem that's preventing it from correctly communicating with other resources.
18+
19+
## Prerequisites
1520

16-
In this article, you deploy a virtual machine (VM), and then check communications to an IP address and URL. You determine the cause of a communication failure and how you can resolve it.
21+
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1722

18-
If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
23+
- Azure Cloud Shell or Azure PowerShell.
1924

20-
[!INCLUDE [cloud-shell-try-it.md](~/reusable-content/ce-skilling/azure/includes/cloud-shell-try-it.md)]
25+
The steps in this article run the Azure PowerShell cmdlets interactively in [Azure Cloud Shell](/azure/cloud-shell/overview). To run the cmdlets in the Cloud Shell, select **Open Cloud Shell** at the upper-right corner of a code block. Select **Copy** to copy the code and then paste it into Cloud Shell to run it. You can also run the Cloud Shell from within the Azure portal.
2126

22-
If you choose to install and use PowerShell locally, this article requires the Az PowerShell module. For more information, see [How to install Azure PowerShell](/powershell/azure/install-azure-powershell). To find the installed version, run `Get-InstalledModule -Name Az`. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
27+
You can also [install Azure PowerShell locally](/powershell/azure/install-azure-powershell) to run the cmdlets. Run [Get-Module -ListAvailable Az](/powershell/module/microsoft.powershell.core/get-module) to find the installed version. If you run PowerShell locally, sign in to Azure using the [Connect-AzAccount](/powershell/module/az.accounts/connect-azaccount) cmdlet.
2328

24-
## Create a VM
29+
## Create a virtual machine
2530

2631
Before you can create a VM, you must create a resource group to contain the VM. Create a resource group with [New-AzResourceGroup](/powershell/module/az.Resources/New-azResourceGroup). The following example creates a resource group named *myResourceGroup* in the *eastus* location.
2732

0 commit comments

Comments
 (0)