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
⚠️ powershell_heavy
Summary:
The documentation demonstrates a Windows bias by providing detailed, step-by-step troubleshooting instructions and examples specifically for Windows VMs, including PowerShell commands, File Explorer navigation, and references to Windows-specific paths and tools. Linux troubleshooting is only referenced via a link, with no in-page guidance or examples. Windows tools and patterns (e.g., File Explorer, Command Prompt, C:\ paths) are mentioned exclusively, and PowerShell is the only CLI example provided.
Recommendations:
  • Provide parallel Linux examples and instructions alongside Windows steps, including explicit Linux file paths and log locations.
  • Include Azure CLI or Bash command examples in addition to PowerShell, especially for checking VM artifact status.
  • Describe how to access and interpret Custom Script Extension logs on Linux VMs directly in the document, rather than linking out.
  • Reference Linux tools (e.g., SSH, less, cat, tail) and shell navigation where appropriate.
  • Ensure that troubleshooting steps are presented for both Windows and Linux VMs in each relevant section, not just as a footnote or external link.
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

Select-AzSubscription -SubscriptionId $SubscriptionId | Out-Null $vm = Get-AzResource ` -Name "$LabName/$VmName" ` -ResourceGroupName $LabRgName ` -ResourceType 'microsoft.devtestlab/labs/virtualmachines' ` -ApiVersion '2018-10-15-preview' ` -ODataQuery '$expand=Properties($expand=ComputeVm)' $vm.Properties.canApplyArtifacts
CSE Error: Failed to download all specified files. Exiting. Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (403) Forbidden. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden.
[00000006] [11/14/2019 05:52:13.44] [INFO] WindowsAzureGuestAgent starting. Version 2.7.41491.949 ... [00000006] [11/14/2019 05:52:31.77] [WARN] Waiting for OOBE to Complete ... ... [00000006] [11/14/2019 06:02:30.43] [WARN] Waiting for OOBE to Complete ... [00000006] [11/14/2019 06:02:33.43] [INFO] StateExecutor initialization completed. [00000020] [11/14/2019 06:02:33.43] [HEART] WindowsAzureGuestAgent Heartbeat.