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:
⚠️ powershell_heavy
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a Windows bias by providing PowerShell commands (e.g., Get-AzContainerRegistryRepository, Import-AzContainerImage, Set-AzAksCluster) without equivalent Bash or cross-platform examples. In several cases, PowerShell commands are mentioned before or instead of Azure CLI or Bash alternatives. There is also a lack of explicit Linux/macOS command examples for tasks like enumerating repositories or integrating with AKS, despite Azure CLI being available cross-platform.
Recommendations:
  • For every PowerShell example, provide an equivalent Azure CLI/Bash example, especially for common tasks like listing repositories, importing images, and integrating with AKS.
  • When mentioning both Azure CLI and PowerShell, list Azure CLI (cross-platform) first, or present both options side-by-side.
  • Explicitly state when a command is platform-specific, and provide guidance for both Windows and Linux/macOS users.
  • Review all command snippets and ensure Linux/macOS users can follow the steps without needing to translate PowerShell commands.
  • Where possible, use Azure CLI as the primary example, since it is available on all platforms.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

Get-AzContainerRegistryRepository -RegistryName registry
Set-AzAksCluster -Name myAKSCluster -ResourceGroupName myResourceGroup -AcrNameToAttach <acr-name>