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
⚠️ windows_tools
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation exclusively uses PowerShell commands and references connecting to the PowerShell interface, with no mention of Linux shells, cross-platform CLI tools, or alternative workflows. All examples, outputs, and tool references are Windows-centric, and there are no Linux or bash equivalents provided.
Recommendations:
  • Provide equivalent instructions and examples using Azure CLI (az) commands, which are cross-platform and can be run on Linux, macOS, and Windows.
  • If device management is only possible via PowerShell, explicitly state this limitation and suggest alternatives or workarounds for Linux users (such as using PowerShell Core on Linux).
  • Include a section or note clarifying platform requirements and offering guidance for non-Windows environments.
  • Where possible, add bash or shell script examples alongside PowerShell, or clarify if the commands can be run in PowerShell Core on Linux.
  • Reference cross-platform tools and interfaces before or alongside Windows-specific tools.
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

Get-AzVmSize -Location dbelocal
Get-AzVmSize -Location dbelocal
Get-HcsVMCustomSizes
[DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsVMCustomSizes [{'Name':'Custom_NonGPU','Cores':8,'MemoryMb':14336},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount': 1}]
[DBE-BNVGF33.microsoftdatabox.com]: PS>Get-HcsVMCustomSizes [{'Name':'Custom_NonGPU','Cores':8,'MemoryMb':14336},{'Name':'Custom_GPU_A2','Cores':8,'MemoryMb':28672,'GpuCount': 1}]
Set-HcsVMCustomSizes -CustomVMSizesJson <string> [-JsonFormat]
[DBE-BNVGF33.microsoftdatabox.com]: PS>Set-HcsVMCustomSizes -CustomVMSizesJson "[{'Name':'Custom_NonGPU','Cores':4,'MemoryMb':4096},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount':2}]" [{'Name':'Custom_NonGPU','Cores':4,'MemoryMb':4096},{'Name':'Custom_GPU_T4_v3','Cores':8,'MemoryMb':28672,'GpuCount':2}]