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
windows_first
powershell_heavy
Summary
The documentation presents REST, PowerShell, and Azure CLI examples for all major operations, but PowerShell is consistently listed before Azure CLI in tab order and example sections. There are references to installing PowerShell modules and using PowerShellGet, which are Windows-centric tools. No explicit Linux-only examples or shell scripts are provided, and PowerShell is given equal or greater prominence than Azure CLI, which is cross-platform. There is no mention of Linux-specific considerations or alternative shell scripting approaches.
Recommendations
  • List Azure CLI examples before PowerShell in tab order and example sections, as CLI is natively cross-platform.
  • Explicitly mention that both Azure CLI and PowerShell are available on Linux, macOS, and Windows, and provide installation links for each platform.
  • Add bash or shell script examples for common operations to demonstrate Linux-native workflows.
  • Avoid references to Windows-specific tools (e.g., PowerShellGet) without noting Linux/macOS alternatives or cross-platform installation instructions.
  • Include a note or section on platform compatibility for all tools mentioned, clarifying usage on Linux and macOS.
  • Where possible, use generic terms like 'command line' rather than 'PowerShell' when referring to cross-platform operations.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Clean Clean
2026-01-12 00:00 #99 completed Clean Clean
2026-01-11 06:20 #98 completed Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-20 22:24 #14 completed Clean Clean
2025-12-20 00:00 #13 completed Clean Clean
2025-12-19 00:00 #12 completed Clean Clean
2025-12-18 00:00 #11 completed Clean Clean
2025-12-17 00:01 #10 completed Clean Clean
2025-12-17 00:00 #9 completed Clean Clean
2025-12-16 00:00 #8 completed Clean Clean
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean Clean

Flagged Code Snippets

An in-progress status is returned as an `Accepted` state under `provisioningState`.

### [PowerShell](#tab/azure-powershell)

To install the version of the module that contains the `New-AzSubscriptionAlias` cmdlet, in the following example run `Install-Module Az.Subscription -RequiredVersion 0.9.0`. To install version 0.9.0 of PowerShellGet, see [Get PowerShellGet Module](/powershell/gallery/powershellget/install-powershellget).

Run the following [New-AzSubscriptionAlias](/powershell/module/az.subscription/get-azsubscriptionalias) command, using the billing scope `"/providers/Microsoft.Billing/BillingAccounts/1234567/enrollmentAccounts/7654321"`.

### [PowerShell](#tab/azure-powershell)