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 Windows bias by exclusively using PowerShell syntax for all Azure CLI and scripting examples, and explicitly stating that PowerShell is the terminal of choice. There are no equivalent Bash or Linux shell examples, and variable assignment patterns are Windows/PowerShell-specific. This may hinder Linux/macOS users, who typically use Bash or other Unix shells.
Recommendations:
  • Provide all Azure CLI examples in both PowerShell and Bash syntax, or use Bash as the default since Azure CLI is cross-platform.
  • Avoid PowerShell-specific variable assignment (e.g., $Variable = ...) in favor of Bash-compatible syntax (e.g., VARIABLE=...).
  • Clarify that the tutorial works on any OS with Azure CLI, and offer guidance for both Windows (PowerShell) and Linux/macOS (Bash) users.
  • Include a note or tabbed code blocks to switch between PowerShell and Bash examples.
  • Ensure clean-up and resource management commands are also shown in Bash.
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-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

$UserId = $(az ad signed-in-user show --query id -o tsv) az role assignment create --role "Storage Blob Data Contributor" --assignee $UserId --scope $StorageAccountId
$ResourceGroup = "<resource_group>"
$DocumentContent = "The patient came in for a visit on 10/12/2023 and was seen again November 4th at Contoso Hospital." az storage blob upload --data $DocumentContent --account-name $StorageAccountName --container-name deidtest --name deidsample.txt --auth-mode login