Skip to content

Commit fcf5511

Browse files
Merge branch 'patch-21' into JeffreyWolford-patch-2
2 parents 9f9fca2 + 36e9a6b commit fcf5511

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/azure-monitor/agents/azure-monitor-agent-mma-removal-tool.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.custom:
1111
---
1212
# MMA/OMS Discovery and Removal Utility
1313

14-
After you migrate your machines to the Azure Monitor Agent (AMA), remove the legacy Log Analytics Agent, MMA, or OMS depending on your operating systems, to avoid duplication of logs. The legacy Discovery and Removal Utility can remove the extensions from Azure Virtual Machines (VMs), Azure Virtual Machine Scale Sets (VMSSs), and Azure Arc servers from a single subscription.
14+
After you migrate your machines to the Azure Monitor Agent (AMA), remove the legacy Log Analytics Agent, MMA, or OMS depending on your operating systems, to avoid duplication of logs. The legacy Discovery and Removal Utility can remove the extensions from Azure Virtual Machines (VMs), Azure Virtual Machine Scale Sets (VMSSs), and Azure Arc servers from a single subscription.
1515

1616
The utility works in two steps:
1717

@@ -44,7 +44,8 @@ Next you must set your subscription.
4444
Az account set --subscription {subscription_id or “subscription_name”}
4545
```
4646
## Step 2 Copy the script
47-
You will use the followng script for agent removal. Open a file in your local directory named MMAUnistallUtilityScript.ps1 and copy the script into the file.
47+
48+
You'll use the following script for agent removal. Open a file in your local directory named MMAUnistallUtilityScript.ps1 and copy the script into the file.
4849
``` PowerShell
4950
# This is per subscription, the customer has to set the az subscription before running this.
5051
# az login
@@ -246,10 +247,9 @@ The script reports the total VM, VMSSs, or Arc enables servers seen in the subsc
246247
|AMA-ADMIN | VM | test2012-r2-da | Extension | MicrosoftMonitorAgent |
247248

248249
## Step 4 Uninstall inventory
249-
This script iterates through the list of VM, VMSS, and Arc enabled servers and uninstalls the legacy agent. If the VM, VMSS, or Arc enabled server isn't running, they won't be remove.
250+
This script iterates through the list of VM, Virtual Machine Scale Sets, and Arc enabled servers and uninstalls the legacy agent. If the VM, Virtual Machine Scale Sets, or Arc enabled server is not running you won't be able to remove the agent.
250251
``` PowerShell
251252
.\MMAUnistallUtilityScript.ps1 UninstallMMAExtension
252253
```
253-
Once the script is complete you'll be able to see the removal status for your VM, VMSS and Arc enabled servers in the MMAInventory.csv file.
254+
Once the script is complete you'll be able to see the removal status for your VM, Virtual Machine Scale Sets, and Arc enabled servers in the MMAInventory.csv file.
254255

255-
---

0 commit comments

Comments
 (0)