Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_tools
missing_linux_example
windows_first
Summary
The documentation demonstrates a strong Windows bias by exclusively using PowerShell cmdlets and Windows-centric management tools for all configuration and management steps. All code examples, instructions for device access, and VM management are provided only for PowerShell, with no Linux shell or cross-platform CLI equivalents. Even when mentioning Linux VHDs as possible VM images, the operational guidance and examples remain Windows/PowerShell specific. There is no mention of how to perform these tasks from a Linux or cross-platform environment, nor are Linux-native tools or workflows described.
Recommendations
  • Provide equivalent command-line instructions using Azure CLI and/or Bash shell where possible, especially for device management and VM operations.
  • Include examples for connecting to and managing the device from Linux or macOS systems, not just via PowerShell.
  • Document any required tools or prerequisites for Linux users (e.g., SSH, Azure CLI, Python scripts) and show how to use them for common tasks.
  • If certain operations are only possible via PowerShell, explicitly state this limitation and suggest workarounds or alternatives for Linux users.
  • Ensure that all code samples and screenshots are balanced between Windows and Linux environments, or clearly indicate when steps are OS-specific.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-12 00:58 #8 cancelled Clean Clean
2025-07-10 05:06 #7 processing Clean Clean

Flagged Code Snippets

     Set-HcsNumaLpMapping -UseSkuPolicy
     
     Get-HcsNumaPolicy
     
     [DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsNumaPolicy

     Get-HcsNumaPolicy
     PolicyType: AllRoot
     HpnLpMapping:
        CPUs: []

     PolicyType: SkuPolicy
     HpnLpMapping:
        CPUs: [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]

     [DBE-BNVGF33.microsoftdatabox.com]: PS>
     
       Get-HcsNumaLpMapping
       
       [DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsNumaLpMapping
       Hardware:
        { Numa Node #0 : CPUs [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] }
        { Numa Node #1 : CPUs [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47] }

       HpnCapableLpMapping:
        { Numa Node #0 : CPUs [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] }
        { Numa Node #1 : CPUs [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47] }

       BNVGF33:
       HpnLpMapping:
        { Numa Node #0 : CPUs [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] }
        { Numa Node #1 : CPUs [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47] }

       HpnLpAvailable:
        { Numa Node #0 : CPUs [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] }
        { Numa Node #1 : CPUs [28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47] }
        
     [DBE-BNVGF33.microsoftdatabox.com]: Set-HcsNumaLpMapping -UseSkuPolicy
     Requested Config already exists. No action needed.

     [DBE-BNVGF33.microsoftdatabox.com]: PS> Set-HcsNumaLpMapping -UseAllRoot
     Requested Configuration requires a reboot...
     Machine will reboot in some time. Please be patient.
     [DBE-BNVGF33.microsoftdatabox.com]: PS>
     
      Get-HcsNumaLpMapping
      
        get-vm
        
        stop-vm -force
        
        Get-HcsNumaLpMapping -MapType HighPerformanceCapable -NodeName <Output of hostname command> 
        
       [dbe-1csphq2.microsoftdatabox.com]: PS>hostname 1CSPHQ2
       [dbe-1csphq2.microsoftdatabox.com]: P> Get-HcsNumaLpMapping -MapType HighPerformanceCapable -NodeName 1CSPHQ2
        { Numa Node #0 : CPUs [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19] }
        { Numa Node #1 : CPUs [24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39] }

       [dbe-1csphq2.microsoftdatabox.com]: PS>
       
       Set-HcsNumaLpMapping -CpusForHighPerfVmsCommaSeperated <Logical indexes from the Get-HcsNumaLpMapping cmdlet> -AssignAllCpusToRoot $false
       
       [dbe-1csphq2.microsoftdatabox.com]: PS>Set-HcsNumaLpMapping -CpusForHighPerfVmsCommaSeperated "4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39" -AssignAllCpusToRoot $false 

       Requested Configuration requires a reboot...

       Machine will reboot in some time. Please be patient.

       [dbe-1csphq2.microsoftdatabox.com]: PS>
       
      Get-HcsNumaLpMapping
      
      dbe-1csphq2.microsoftdatabox.com]: PS> Get-HcsNumaLpMapping -MapType MinRootAware -NodeName 1CSPHQ2 

      { Numa Node #0 : CPUs [0, 1, 2, 3] } 

      { Numa Node #1 : CPUs [20, 21, 22, 23] } 

      [dbe-1csphq2.microsoftdatabox.com]: 

      PS> 
      
      start-vm