Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_first
Summary
The documentation provides both Azure CLI and PowerShell examples for creating VMs from generalized images in a gallery. However, PowerShell examples are exclusively shown using Windows VM configuration (Set-AzVMOperatingSystem -Windows), and the full parameter set for PowerShell is Windows-specific. In contrast, CLI examples default to Linux VM creation, with a brief note on how to switch to password authentication for Windows or Linux. The PowerShell tab is always present and detailed, but does not show how to create a Linux VM using PowerShell. Additionally, in the REST examples, both Linux and Windows VM creation are shown, but the PowerShell section is Windows-centric. The ordering of examples sometimes places Windows (PowerShell) before Linux (CLI), and the PowerShell examples do not provide parity for Linux users.
Recommendations
  • Add PowerShell examples for creating Linux VMs, including the use of Set-AzVMOperatingSystem -Linux and SSH key authentication.
  • Clarify in PowerShell sections that both Windows and Linux VMs can be created, and provide explicit instructions for both.
  • Ensure that CLI and PowerShell examples are presented with equal detail for both OS types.
  • Consider alternating or grouping examples by OS type, rather than by tool, to avoid implicit prioritization.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-02-12 00:00 #372 in_progress Biased Biased
2026-02-11 00:00 #368 in_progress Biased Biased
2026-02-10 00:00 #364 completed Biased Biased
2026-02-09 00:00 #360 completed Biased Biased
2026-02-08 00:00 #356 completed Biased Biased
2026-02-05 00:00 #344 completed Biased Biased
2026-02-04 00:00 #340 completed Biased Biased
2026-02-03 00:00 #336 completed Biased Biased
2026-02-02 00:00 #332 completed Biased Biased
2026-02-01 00:00 #328 completed Biased Biased
2026-01-31 00:00 #324 completed Biased Biased
2026-01-30 00:00 #320 completed Biased Biased
2026-01-27 00:00 #308 completed Biased Biased
2026-01-26 00:00 #304 completed Biased Biased
2026-01-24 00:00 #296 completed Biased Biased
2026-01-23 00:00 #292 failed Biased Biased
2026-01-07 06:10 #227 cancelled Clean Clean

Flagged Code Snippets