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
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by exclusively providing examples for creating a Windows virtual machine, omitting any Linux VM creation examples. Additionally, the PowerShell example is presented alongside Azure CLI, but there is no mention of Linux-specific tools or shell environments. The Azure CLI installation link defaults to the Windows tab, and the VM creation command uses a Windows image without showing how to use a Linux image.
Recommendations:
  • Add a Linux virtual machine creation example using both Azure CLI and PowerShell, specifying a common Linux image (e.g., Ubuntu).
  • Ensure the Azure CLI installation link is platform-neutral or includes Linux installation instructions prominently.
  • Where PowerShell is mentioned, also reference Bash or other common Linux shells for parity.
  • Explicitly state that the tutorial works for both Windows and Linux VMs, and provide guidance or examples for both.
  • Include screenshots or portal instructions that show both Windows and Linux VM Automanage blades if there are differences.
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

Connect-AzAccount
new-azResourceGroup -Name "test-rg" -Location "eastus"
az vm create ` --resource-group "test-rg" ` --name "testvm" ` --location "eastus" ` --image win2016datacenter ` --admin-username testUser ` --size Standard_D2s_v3 ` --storage-sku Standard_LRS
New-AzVm ` -ResourceGroupName 'test-rg' ` -Name 'testvm' ` -Location 'eastus' ` -VirtualNetworkName 'testvm-vnet' ` -SubnetName 'testvm-subnet' ` -SecurityGroupName 'test-vm-nsg'