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_first
missing_linux_example
windows_tools
Summary
The documentation page demonstrates a Windows bias by providing only PowerShell examples for resource deletion and action group removal, referencing Windows-centric tools (PowerShell cmdlets) without mentioning equivalent Azure CLI or REST API commands. The step-by-step instructions and screenshots focus on the Azure portal, which is platform-neutral, but all command-line automation is shown using PowerShell, with no Linux shell or Azure CLI alternatives. This may disadvantage users working primarily on Linux or macOS environments.
Recommendations
  • Add equivalent Azure CLI examples for all PowerShell cmdlets shown, such as resource and action group deletion.
  • Explicitly mention that both PowerShell and Azure CLI (and REST API) can be used, and provide links or code samples for each.
  • Ensure that command-line instructions are presented in a platform-neutral way, or provide parallel examples for Windows (PowerShell) and Linux/macOS (Azure CLI/bash).
  • Where possible, order examples so that platform-neutral or cross-platform tools (e.g., Azure CLI) are shown before or alongside Windows-specific tools.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

### Remove alert rules for Start/Stop VMs during off-hours

For Start/Stop VMs during off-hours, you also need to remove the alert rules created by the feature.

1. In the Azure portal, go to your resource group and select **Monitoring** > **Alerts** > **Manage alert rules**.

   ![Screenshot of Alerts page, showing selection of Manage alert rules](../media/move-account/alert-rules.png)

2. On the Rules page, you should see a list of the alerts configured in that resource group. The feature creates these rules:

    * AutoStop_VM_Child
    * ScheduledStartStop_Parent
    * SequencedStartStop_Parent

3. Select the rules one at a time, and select **Delete** to remove them.

    ![Screenshot of Rules page, requesting confirmation of deletion for selected rules](../media/move-account/delete-rules.png)

    > [!NOTE]
    > If you don't see any alert rules on the Rules page, change the **Status** field to **Disabled** to show disabled alerts. 

4. When you remove the alert rules, you must remove the action group created for Start/Stop VMs during off-hours notifications. In the Azure portal, select **Monitor** > **Alerts** > **Manage action groups**.

5. Select **StartStop_VM_Notification**. 

6. On the action group page, select **Delete**.

    ![Screenshot of Action group page](../media/move-account/delete-action-group.png)

If you prefer, you can delete your action group by using the [Remove-AzActionGroup](/powershell/module/az.monitor/remove-azactiongroup) cmdlet: