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:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a moderate Windows bias. Azure PowerShell is featured prominently and often presented before or alongside Azure CLI, but without explicit Linux/Bash shell examples. The CLI examples are described as working in Bash or Azure PowerShell, but there are no dedicated Linux shell (e.g., Bash) or macOS terminal screenshots, nor are there any notes about differences in command usage or environment setup for non-Windows platforms. The PowerShell examples assume familiarity with Windows scripting conventions. No Linux-specific tools or guidance are provided, and the documentation does not address cross-platform nuances.
Recommendations:
  • Provide explicit Bash/Linux terminal examples and screenshots, especially for Azure CLI usage.
  • Clarify that Azure CLI commands can be run natively on Linux/macOS, and note any differences in quoting, environment variables, or authentication.
  • Balance the order of examples: present Azure CLI (cross-platform) before Azure PowerShell (Windows-centric) where possible.
  • Add notes or sections for Linux/macOS users, including troubleshooting tips or environment setup guidance.
  • Avoid assuming PowerShell as the default scripting environment; mention alternatives like Bash or zsh.
  • Where PowerShell is used, clarify if the example is for Windows PowerShell or cross-platform PowerShell Core.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-01 00:00 #98 in_progress ✅ Clean
2025-08-01 00:00 #67 completed ❌ Biased
2025-07-13 21:37 #48 completed ❌ Biased

Flagged Code Snippets

# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
--- ### Use Azure PowerShell #### Validate To test your move scenario without actually moving resources in real time, use the [`Invoke-AzResourceAction`](/powershell/module/az.resources/invoke-azresourceaction) command in Azure PowerShell. Use this command only when you need to model the results without following through.