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

Bias Types:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ windows_tools
Summary:
The documentation provides parallel instructions for Azure CLI, Azure PowerShell, and Azure Portal. However, there is a notable bias toward Windows environments: PowerShell is given equal prominence to Azure CLI, despite PowerShell being primarily a Windows-centric tool (even though cross-platform PowerShell Core exists, most users associate it with Windows). In several places, PowerShell examples are presented immediately after CLI, and there is no mention of Linux-specific shell usage, scripting, or troubleshooting. The document does not clarify that Azure CLI commands are cross-platform and suitable for Linux/macOS, nor does it provide any bash/zsh-specific guidance or highlight differences that Linux users might encounter. There are also no references to Linux-native tools or patterns.
Recommendations:
  • Explicitly state that Azure CLI commands are cross-platform and suitable for Linux, macOS, and Windows.
  • Add bash/zsh shell examples or notes where relevant (e.g., multi-line commands, environment variable usage, quoting).
  • Clarify that PowerShell examples are optional and primarily for users on Windows or those using PowerShell Core.
  • Add troubleshooting notes for common Linux issues (e.g., line endings, path formats, CLI installation).
  • Where scripting is shown, provide both PowerShell and bash script snippets to ensure Linux users are equally supported.
  • Consider reordering tabs so that Azure CLI (the most cross-platform tool) appears first, and PowerShell is clearly marked as an alternative.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

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