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
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a significant Windows/Powershell bias. Most command-line examples for deploying and configuring resources (such as deploying ARM templates, setting access policies, and retrieving identities) are provided exclusively using PowerShell, with no equivalent Azure CLI (bash/shell) examples. The instructions for running these commands assume a Windows environment, and there is no guidance for Linux or macOS users. While some sections mention that Azure CLI can be used, all concrete step-by-step examples default to PowerShell, and no bash/CLI scripts are shown for critical tasks. This may hinder Linux/macOS users or those who prefer cross-platform tooling.
Recommendations:
  • For every PowerShell example, provide an equivalent Azure CLI (bash/shell) example, especially for deployment, access policy, and identity management steps.
  • When referencing command-line tools, mention both PowerShell and Azure CLI options, and do not assume a Windows environment.
  • Where possible, use Azure CLI as the primary example, as it is cross-platform, or present CLI examples before PowerShell to avoid a 'Windows-first' impression.
  • Explicitly state that all steps can be performed on Linux/macOS using Azure CLI, and provide links or code blocks for those workflows.
  • Add a section or callout for Linux/macOS users, summarizing any differences or additional steps required.
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 ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

3. Run the following PowerShell command to deploy the template to create an Event Hubs namespace. Then, retrieve the ID of the Event Hubs namespace to use it later. Replace `{MyRG}` with the name of the resource group before running the command.
New-AzResourceGroupDeployment -Name UpdateEventHubNamespaceWithEncryption -ResourceGroupName {MyRG} -TemplateFile ./UpdateEventHubClusterAndNamespace.json -TemplateParameterFile ./UpdateEventHubClusterAndNamespaceParams.json