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
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation provides parallel instructions for both Windows and Linux, but consistently presents Windows instructions before Linux in every section. Windows examples use PowerShell scripts and commands extensively, including Windows-specific tools like vcpkg and PowerShell cmdlets (e.g., Set-ExecutionPolicy, Write-Host, Get-Pfxcertificate), while Linux instructions use bash scripts. Some Windows-specific installation guidance (such as vcpkg for OpenSSL) is more detailed than the Linux equivalent. There are no major missing Linux examples, but the ordering and tool emphasis reflect a Windows-first and PowerShell-heavy bias.
Recommendations:
  • Alternate the order of Windows and Linux sections in each major heading, or present Linux first in some sections to balance perceived priority.
  • Where possible, provide equal detail for Linux installation steps (e.g., recommend package managers like apt, yum, or dnf for OpenSSL installation).
  • Avoid using Windows-specific tools (like vcpkg) as the 'recommended' method without offering a Linux equivalent or a cross-platform alternative.
  • Where PowerShell cmdlets are used for certificate inspection (e.g., Get-Pfxcertificate), provide equivalent Linux commands (e.g., openssl) and highlight them equally.
  • Consider a unified table or tabbed interface that does not always default to Windows as the first or primary example.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-09-16 00:00 #113 completed ✅ Clean
2025-09-15 00:00 #112 completed ✅ Clean
2025-09-14 00:00 #111 completed ✅ Clean
2025-09-13 00:00 #110 completed ✅ Clean
2025-09-12 00:00 #109 completed ✅ Clean
2025-09-11 00:00 #108 completed ✅ Clean
2025-09-10 00:00 #107 completed ✅ Clean
2025-09-09 00:00 #106 completed ✅ Clean
2025-09-08 00:00 #105 completed ✅ Clean
2025-09-07 00:00 #104 completed ✅ Clean
2025-09-06 00:00 #103 completed ✅ Clean
2025-09-05 00:00 #102 completed ✅ Clean
2025-09-04 00:00 #101 completed ✅ Clean
2025-09-03 00:00 #100 completed ✅ Clean
2025-08-29 00:01 #95 completed ✅ Clean
2025-08-27 00:01 #93 in_progress ✅ Clean
2025-08-22 00:01 #88 completed ✅ Clean
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

mkdir wrkdir cd .\wrkdir\ cp ..\iotedge\tools\CACertificates\*.cnf . cp ..\iotedge\tools\CACertificates\ca-certs.ps1 .
.\vcpkg install openssl:x64-windows
Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope CurrentUser
. .\ca-certs.ps1
Test-CACertsPrerequisites
New-CACertsCertChain rsa
New-CACertsEdgeDeviceIdentity "<device-id>"
New-CACertsEdgeDevice "<CA cert name>"
New-CACertsDevice "<device ID>-primary" New-CACertsDevice "<device ID>-secondary"
Write-Host (Get-Pfxcertificate -FilePath certs\iot-device-<device name>-primary.cert.pem).Thumbprint
New-CACertsVerificationCert "<verification code>"
New-CACertsDevice "<device id>"