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 instructions for verifying the deployment, but the PowerShell examples are included as a primary alternative to the CLI, which is cross-platform. There are no Linux-specific shell examples (e.g., bash), and PowerShell is traditionally associated with Windows, though it is now cross-platform. The order of presentation (CLI first, then PowerShell) is reasonable, but the inclusion of PowerShell as the only alternative may suggest a slight Windows bias, especially since no explicit Linux shell or macOS Terminal instructions are given.
Recommendations:
  • Add explicit bash shell examples for Linux/macOS users, especially for common verification and scripting steps.
  • Clarify that Azure CLI commands work on all platforms, and consider adding a note about running them in bash or zsh.
  • If PowerShell is included, mention that it is available cross-platform, or provide a link to installation instructions for Linux/macOS.
  • Consider including a table or section summarizing command usage across Windows (PowerShell, CMD), Linux (bash), and macOS (zsh, bash) to improve parity.
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

$resource_group_name=$(terraform output -raw resource_group_name)
$bastion_host_name=$(terraform output -raw bastion_host_name)
$bastion_host_ip=$(terraform output -raw bastion_host_ip)
Get-AzBastionHost -ResourceGroupName $resource_group_name -Name $bastion_host_name