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
Summary:
The documentation provides both Azure CLI and Azure PowerShell examples for all command-line operations, but it lists Azure PowerShell (a Windows-centric tool) alongside Azure CLI, and sometimes gives PowerShell examples more detailed coverage (e.g., with variable assignments and object construction). There are no Linux-specific shell examples (such as Bash), and the PowerShell examples may not be as familiar or accessible to Linux users. The documentation does not mention or provide parity for Linux-native tools or patterns, and the use of PowerShell may be perceived as Windows-centric.
Recommendations:
  • Ensure all command-line examples are provided in both Azure CLI (Bash/shell) and Azure PowerShell, but default to Azure CLI/Bash as the primary example since it is cross-platform.
  • Clearly indicate that Azure CLI commands can be run on Linux, macOS, and Windows, and provide Bash syntax for variable assignment and piping where appropriate.
  • If PowerShell is included, clarify that it is available cross-platform, or provide links to installation instructions for Linux/macOS.
  • Consider adding a section or note for Linux users, highlighting any differences or tips for running the commands in a Linux environment.
  • Avoid assuming the use of Windows tools or patterns unless they are required, and provide Linux-native alternatives where possible.
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-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell)
# [Azure PowerShell](#tab/azure-powershell) A Log Analytics workspace is required for the Container Apps environment. The following commands create a Log Analytics workspace and save the workspace ID and primary shared key to environment variables.