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_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias in several ways: PowerShell commands and scripts are used exclusively for troubleshooting tasks such as listing and deleting ingestion jobs, with no equivalent Bash or Linux CLI examples. In sections where both Windows and Linux are relevant (e.g., VM image preparation), Windows workflows and links are listed before Linux ones, and some troubleshooting steps (e.g., checking for duplicate IPs) use Windows-specific tools like Test-NetConnection (tnc) without providing Linux alternatives. Linux-specific troubleshooting is present but less detailed and often segregated into separate sections, rather than being presented in parallel with Windows guidance.
Recommendations:
  • Provide equivalent Linux/Bash command examples for all troubleshooting steps that currently use PowerShell or Windows tools (e.g., use curl or wget for REST calls, and use ping/nc for network checks).
  • When listing workflows or links for both Windows and Linux, alternate the order or present them side-by-side to avoid always listing Windows first.
  • For network troubleshooting, include Linux-native commands (e.g., ping, nc, ss, ip) alongside Windows commands like Test-NetConnection.
  • For REST API interactions, show both PowerShell and Bash/curl examples.
  • Ensure that Linux troubleshooting guidance is as detailed and prominent as Windows guidance, and integrate Linux steps into the main troubleshooting flow rather than as afterthoughts or separate sections.
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

ping <IP address> tnc <IP address> tnc <IP address> -CommonTCPPort “RDP”
Function Get-AzCachedAccessToken() { $ErrorActionPreference = 'Stop' $azureRmProfile = [Microsoft.Azure.Commands.Common.Authentication.Abstractions.AzureRmProfileProvider]::Instance.Profile $currentAzureContext = Get-AzContext $profileClient = New-Object Microsoft.Azure.Commands.ResourceManager.Common.RMProfileClient($azureRmProfile) Write-Debug ("Getting access token for tenant" + $currentAzureContext.Subscription.TenantId) $token = $profileClient.AcquireAccessToken($currentAzureContext.Subscription.TenantId) $token.AccessToken } $token = Get-AzCachedAccessToken $headers = @{Authorization = "Bearer $token"; "Content-Type" = "application/json" } $v = Invoke-RestMethod -Method Get -Uri $uri1 -Headers $headers v.value
$uri2 = "https://management.<appliance name>.<DNS domain>/subscriptions/sid/resourceGroups/rgname/providers/Microsoft.AzureBridge/locations/dbelocal/ingestionJobs/<ingestion job name>?api-version=2018-06-01"
Invoke-RestMethod -Method DELETE -Uri $uri2 -Headers $headers