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 parallel instructions for Azure CLI, Azure PowerShell, and Azure Portal, but consistently includes Azure PowerShell examples and commands, which are primarily used on Windows. The PowerShell sections are always present and often listed before or alongside CLI, and there is no mention of Bash, shell scripting, or Linux-specific considerations. There are no Linux-specific examples or notes about cross-platform differences, and PowerShell is presented as a first-class option, which may bias the documentation toward Windows users.
Recommendations
  • Explicitly state that Azure CLI commands work cross-platform (Windows, Linux, macOS) and highlight this in the introduction.
  • Add Bash or shell script examples where scripting is relevant, especially for automation scenarios.
  • Clarify that Azure PowerShell is available on Linux and macOS via PowerShell Core, or provide guidance for Linux users if there are differences.
  • Consider listing Azure CLI before PowerShell in all sections, as CLI is more universally cross-platform.
  • Add a note or section on using these commands in Linux environments, including any prerequisites or differences (e.g., shell quoting, authentication).
  • Avoid implying that PowerShell is the default or primary automation tool for all users.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

2. Create a system topic of type `microsoft.resourcenotifications.containerserviceeventresources` using the [`az eventgrid system-topic create`](/cli/azure/eventgrid/system-topic#az-eventgrid-system-topic-create) command.

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

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

    
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 `ScheduledEventEmitted` events from resources in a specified resource group. 

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

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

2. Create a system topic of type `microsoft.resourcenotifications.containerserviceeventresources` 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 **ScheduledEventEmitted** event. 

# [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:

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