Skip to content

Commit 6e663fc

Browse files
authored
Merge pull request #160100 from MGoedtel/task1847089
updated remove VMs article
2 parents 26d7d8a + f6f76dd commit 6e663fc

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

articles/automation/change-tracking/remove-vms-from-change-tracking.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article tells how to remove VMs from Change Tracking and Inven
44
services: automation
55
ms.subservice: change-inventory-management
66
ms.topic: conceptual
7-
ms.date: 10/14/2020
7+
ms.date: 05/26/2021
88
---
99

1010
# Remove VMs from Change Tracking and Inventory
@@ -27,13 +27,19 @@ Sign in to the [Azure portal](https://portal.azure.com).
2727
2828
3. In the Azure portal, navigate to **Log Analytics workspaces**. Select your workspace from the list.
2929
30-
4. In your Log Analytics workspace, select **Logs** and then and choose **Query explorer** from the top actions menu.
30+
4. In your Log Analytics workspace, select **Computer Groups** from the left-hand menu.
3131
32-
5. From **Query explorer** in the right-hand pane, expand **Saved Queries\Updates** and select the saved search query `MicrosoftDefaultComputerGroup` to edit it.
32+
5. From **Computer Groups** in the right-hand pane, the **Saved groups** tab is shown by default..
3333
34-
6. In the query editor, review the query and find the UUID for the VM. Remove the UUID for the VM and repeat the steps for any other VMs you want to remove.
34+
6. From the table, click the icon **Run query** to the right of the item **MicrosoftDefaultComputerGroup** with the **Legacy category** value **ChangeTracking**.
3535
36-
7. Save the saved search when you're finished editing it by selecting **Save** from the top bar.
36+
7. In the query editor, review the query and find the UUID for the VM. Remove the UUID for the VM and repeat the steps for any other VMs you want to remove.
37+
38+
8. Save the saved search when you're finished editing it by selecting **Save > Save as function** from the top bar. When prompted, specify the following:
39+
40+
* **Name**: ChangeTracking__MicrosoftDefaultComputerGroup
41+
* **Save as computer Group**: Selected
42+
* **Legacy category**: ChangeTracking
3743
3844
>[!NOTE]
3945
>Machines are still shown after you have unenrolled them because we report on all machines assessed in the last 24 hours. After removing the machine, you need to wait 24 hours before they are no longer listed.

0 commit comments

Comments
 (0)