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
Bias Types:
⚠️
powershell_heavy
⚠️
missing_linux_example
⚠️
windows_tools
Summary:
The documentation page demonstrates a bias toward Windows by providing only PowerShell examples for command-line operations (such as deleting resources and action groups), without any equivalent Azure CLI or Bash examples. The use of PowerShell cmdlets (Remove-AzResource, Remove-AzActionGroup) caters primarily to Windows users, and there is no mention or demonstration of Linux-native tools or workflows.
Recommendations:
- Add equivalent Azure CLI examples (az resource delete, az monitor action-group delete, etc.) alongside PowerShell examples for all resource management tasks.
- Explicitly mention that both PowerShell and Azure CLI can be used, and provide Bash-friendly command snippets where appropriate.
- Ensure that screenshots and step-by-step instructions are platform-neutral or include notes for both Windows and Linux users.
- Consider including a table or section that compares PowerShell and Azure CLI commands for common tasks in this workflow.
Create pull request
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**.

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.

> [!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**.

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