Sad Tux - Windows bias detected
This page contains Windows bias

About This Page

This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.

Bias Analysis

Detected Bias Types
powershell_heavy
windows_tools
windows_first
Summary
The documentation, while focused on Linux VMs, demonstrates a moderate Windows bias by prioritizing PowerShell (a Windows-centric tool) in both prerequisites and procedural steps, and by referencing Azure PowerShell cmdlets and tooling before or alongside Azure CLI. There is also a minor error in the Azure CLI install example, referencing 'Network Watcher Agent for Windows' in a Linux context. The documentation does not provide any native Linux shell (bash) or scripting examples, and assumes the use of Windows-oriented management tools even for Linux VM management.
Recommendations
  • Prioritize Azure CLI examples before PowerShell, as Azure CLI is cross-platform and more familiar to Linux users.
  • Add native Linux shell (bash) examples for relevant operations, especially for users managing Linux VMs from Linux environments.
  • Clarify that PowerShell is available cross-platform, but highlight Azure CLI and bash as the primary tools for Linux VM management.
  • Correct the Azure CLI example comment to reference 'Network Watcher Agent for Linux' instead of Windows.
  • Where possible, provide guidance for managing extensions directly from within the Linux VM (e.g., using the Azure CLI installed on the VM), not just from external management endpoints.
  • Consider including a section on using REST API or SDKs from Linux environments for advanced users.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Clean Clean
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

# [**Resource Manager**](#tab/arm)

N/A

---

## Install Network Watcher Agent VM extension

# [**Portal**](#tab/portal)

From the virtual machine page in the Azure portal, you can install the Network Watcher Agent VM extension by following these steps:

1. Under **Settings**, select **Extensions + applications**.

1. Select **+ Add** and search for **Network Watcher Agent** and install it. If the extension is already installed, you can see it in the list of extensions.

    :::image type="content" source="./media/network-watcher-agent-linux/vm-extensions.png" alt-text="Screenshot that shows the VM's extensions page in the Azure portal." lightbox="./media/network-watcher-agent-linux/vm-extensions.png":::

1. In the search box of **Install an Extension**, enter *Network Watcher Agent for Linux*. Select the extension from the list and select **Next**.

    :::image type="content" source="./media/network-watcher-agent-linux/install-extension-linux.png" alt-text="Screenshot that shows how to install Network Watcher Agent for Linux in the Azure portal." lightbox="./media/network-watcher-agent-linux/install-extension-linux.png":::

1. Select **Review + create** and then select **Create**.

# [**PowerShell**](#tab/powershell)

Use [Set-AzVMExtension](/powershell/module/az.compute/set-azvmextension) cmdlet to install Network Watcher Agent VM extension on the virtual machine:

The output of the cmdlet lists the installed extensions:

---

## Uninstall Network Watcher Agent VM extension

# [**Portal**](#tab/portal)

From the virtual machine page in the Azure portal, you can uninstall the Network Watcher Agent VM extension by following these steps:

1. Under **Settings**, select **Extensions + applications**.

1. Select **AzureNetworkWatcherExtension** from the list of extensions, and then select **Uninstall**.

    :::image type="content" source="./media/network-watcher-agent-linux/uninstall-extension-linux.png" alt-text="Screenshot that shows how to uninstall Network Watcher Agent for Linux in the Azure portal." lightbox="./media/network-watcher-agent-linux/uninstall-extension-linux.png":::

    > [!NOTE]
    > You might see Network Watcher Agent VM extension named differently than **AzureNetworkWatcherExtension**.

# [**PowerShell**](#tab/powershell)

Use [Remove-AzVMExtension](/powershell/module/az.compute/remove-azvmextension) cmdlet to remove Network Watcher Agent VM extension from the virtual machine: