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
⚠️ missing_linux_example
⚠️ windows_tools
⚠️ windows_first
Summary:
The documentation page demonstrates a Windows bias by providing only PowerShell examples for listing available VM sizes, referencing Windows-centric tools (PowerShell, Visual Studio), and omitting equivalent Linux/CLI examples. The deployment instructions and tooling references prioritize or exclusively mention Windows workflows, with no mention of Azure CLI, Bash, or cross-platform alternatives.
Recommendations:
  • Add equivalent Azure CLI (az) command examples for listing available VM sizes, suitable for Linux/macOS users.
  • Include Bash or shell script snippets alongside PowerShell to ensure parity.
  • Mention cross-platform tools (e.g., Azure CLI, ARM templates) before or alongside Windows-specific tools like PowerShell and Visual Studio.
  • Ensure deployment instructions and next steps reference both Windows and Linux-friendly workflows, such as deploying via Azure CLI or from a Linux environment.
  • Where possible, clarify that the service definition file and repackaging steps can be performed on any platform, not just Windows.
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

# Update the location $location = 'WestUS2' # Get all Compute Resource Skus $allSkus = Get-AzComputeResourceSku # Filter virtualMachine skus for given location $vmSkus = $allSkus.Where{$_.resourceType -eq 'virtualMachines' -and $_.LocationInfo.Location -like $location} # From filtered virtualMachine skus, select PaaS Skus $passVMSkus = $vmSkus.Where{$_.Capabilities.Where{$_.name -eq 'VMDeploymentTypes'}.Value.Contains("PaaS")} # Optional step to format and sort the output by Family $passVMSkus | Sort-Object Family, Name | Format-Table -Property Family, Name, Size