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 provides examples for Azure CLI, Azure PowerShell, and Azure Portal. However, it demonstrates a Windows bias by including extensive PowerShell examples (which are primarily associated with Windows environments) and referencing Azure PowerShell modules, which are more familiar to Windows users. There is no mention of Bash, Linux shell scripting, or cross-platform scripting alternatives. Additionally, PowerShell examples are given equal prominence to CLI examples, and the documentation does not clarify that Azure CLI is cross-platform and preferred for Linux/macOS users. There are no Linux-specific notes or troubleshooting tips.
Recommendations
  • Explicitly mention that Azure CLI is cross-platform and works natively on Linux, macOS, and Windows.
  • Add Bash shell scripting examples or notes for Linux users, especially for scripting and automation scenarios.
  • Clarify that Azure PowerShell is available cross-platform, but is more familiar to Windows users, and recommend Azure CLI for Linux/macOS users.
  • Include troubleshooting tips or environment setup notes for Linux users (e.g., installing Azure CLI on Ubuntu, handling authentication).
  • Avoid assuming PowerShell as the default scripting environment; consider reordering sections to present Azure CLI before PowerShell, or add a note explaining the intended audience for each.
  • Where screenshots or portal instructions are given, note any differences in experience for Linux/macOS users if applicable.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
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 Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets

# [Azure PowerShell](#tab/azure-powershell)

# [Azure PowerShell](#tab/azure-powershell)

# [Azure PowerShell](#tab/azure-powershell)

1. Set the account to the Azure subscription where you wish to create the system topic. 

    
2. Create a system topic of type `microsoft.resourcenotifications.healthresources` using the [New-AzEventGridSystemTopic](/powershell/module/az.eventgrid/new-azeventgridsystemtopic) command.

    
# [Azure PowerShell](#tab/azure-powershell)

Create an event subscription for the above topic using the [New-AzEventGridSystemTopicEventSubscription](/powershell/module/az.eventgrid/new-azeventgridsystemtopiceventsubscription) command. 

The following sample command creates an event subscription for the **AvailabilityStatusChanged** event. 

If you don't specify `IncludedEventType`, all the event types are included by default.    

To **filter events** from a specific resource, use the `-SubjectBeginsWith` parameter. The example shows how to subscribe to `AvailabilityStatusChanged` events from resources in a specified resource group. 

# [Azure PowerShell](#tab/azure-powershell)
To delete an event subscription, use the [`Remove-AzEventGridSystemTopicEventSubscription`](/powershell/module/az.eventgrid/remove-azeventgridsystemtopiceventsubscription) command. Here's an example:

To delete the system topic, use the [`Remove-AzEventGridSystemTopic`](/powershell/module/az.eventgrid/remove-azeventgridsystemtopic) command. Here's an example: