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:
⚠️ windows_first
⚠️ missing_linux_example
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows-first and PowerShell-heavy approach. The main template example is for a Windows VM, and all deployment and cleanup scripts are provided only in PowerShell, with no equivalent Azure CLI (Bash) or Linux-focused examples. The instructions and screenshots reference Windows tools and workflows (e.g., Visual Studio Code, PowerShell), and there is no mention of Linux VM templates or Bash/CLI deployment commands.
Recommendations:
  • Provide parallel examples for deploying a Linux VM (e.g., link to or use the 'vm-simple-linux' template alongside the Windows one).
  • Include Azure CLI (az) commands for template deployment and resource cleanup, and show how to run them in Bash.
  • When referencing Cloud Shell, give equal prominence to Bash and PowerShell, and provide code snippets for both.
  • Balance the use of Windows-specific tools (like PowerShell) with Linux/Unix equivalents, and mention cross-platform editors (e.g., VS Code is cross-platform, but clarify that it works on Linux/Mac as well).
  • Add notes or sections for users on Linux or Mac, clarifying any differences in workflow or commands.
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

https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.compute/vm-simple-windows/azuredeploy.json
$projectName = Read-Host -Prompt "Enter a project name that is used to generate resource group name and resource names" $newOrExisting = Read-Host -Prompt "Create new or use existing (Enter new or existing)" $location = Read-Host -Prompt "Enter the Azure location (i.e. centralus)" $vmAdmin = Read-Host -Prompt "Enter the admin username" $vmPassword = Read-Host -Prompt "Enter the admin password" -AsSecureString $dnsLabelPrefix = Read-Host -Prompt "Enter the DNS Label prefix" $resourceGroupName = "${projectName}rg" $storageAccountName = "${projectName}store" New-AzResourceGroup -Name $resourceGroupName -Location $location New-AzResourceGroupDeployment ` -ResourceGroupName $resourceGroupName ` -adminUsername $vmAdmin ` -adminPassword $vmPassword ` -dnsLabelPrefix $dnsLabelPrefix ` -storageAccountName $storageAccountName ` -newOrExisting $newOrExisting ` -TemplateFile "$HOME/azuredeploy.json" Write-Host "Press [ENTER] to continue ..."