Skip to content

Commit 168d539

Browse files
committed
small updates
1 parent 292e56c commit 168d539

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/azure-monitor/profiler/profiler-vm.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
title: Enable Profiler for web apps on an Azure virtual machine
33
description: Profile web apps running on an Azure virtual machine or a virtual machine scale set by using Application Insights Profiler
44
ms.topic: conceptual
5-
ms.date: 07/15/2022
6-
ms.reviewer: jogrima
5+
ms.date: 07/18/2022
6+
ms.reviewer: charles.weininger
77
---
88

99
# Enable Profiler for web apps on an Azure virtual machine
@@ -58,7 +58,7 @@ In this article, you learn how to run Application Insights Profiler on your Azur
5858

5959
You can enable Profiler by any of the following three ways:
6060

61-
- Within your ASP.NET Core application using an Azure Resource Manager template and Visual Studio.
61+
- Within your ASP.NET Core application using an Azure Resource Manager template and Visual Studio (recommended).
6262
- Using a PowerShell command via the Azure CLI.
6363
- Using Azure Resource Explorer.
6464

@@ -146,15 +146,15 @@ If the intended application is running through [IIS](https://www.microsoft.com/w
146146

147147
1. Use the [Add Windows features](/iis/configuration/system.webserver/tracing/) window, or run the following command in PowerShell (as administrator):
148148

149-
```powershell
150-
Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All
151-
```
149+
```powershell
150+
Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All
151+
```
152152
153-
If establishing remote access is a problem, you can use the [Azure CLI](/cli/azure/get-started-with-azure-cli) to run the following command:
153+
If establishing remote access is a problem, you can use the [Azure CLI](/cli/azure/get-started-with-azure-cli) to run the following command:
154154
155-
```cli
156-
az vm run-command invoke -g MyResourceGroupName -n MyVirtualMachineName --command-id RunPowerShellScript --scripts "Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All"
157-
```
155+
```cli
156+
az vm run-command invoke -g MyResourceGroupName -n MyVirtualMachineName --command-id RunPowerShellScript --scripts "Enable-WindowsOptionalFeature -FeatureName IIS-HttpTracing -Online -All"
157+
```
158158
159159
1. Deploy your application.
160160

0 commit comments

Comments
 (0)