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 CLI and PowerShell examples for creating VMs from generalized images in an Azure Compute Gallery. However, the PowerShell examples are exclusively for Windows, with commands like Set-AzVMOperatingSystem -Windows and prompts for Windows credentials. There are no PowerShell examples for Linux VM creation, nor guidance for Linux-specific PowerShell usage. In CLI and REST sections, Linux is shown first, but PowerShell sections always default to Windows. This creates friction for Linux users who prefer PowerShell or need parity in automation scripts.
Recommendations
  • Add PowerShell examples for creating Linux VMs, using Set-AzVMOperatingSystem -Linux and appropriate credential handling.
  • Explicitly mention how to adapt PowerShell scripts for Linux VM creation, including SSH key configuration and Linux-specific parameters.
  • Ensure that both Windows and Linux scenarios are covered equally in PowerShell sections, similar to the parity shown in CLI and REST examples.
  • Consider adding a table or note summarizing differences in PowerShell usage for Windows vs. Linux VM creation.
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