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
windows_first
cmd_examples
missing_linux_example
Summary
The documentation is generally cross-platform, with most examples using 'bash' and 'iotedge' CLI commands that are applicable to both Linux and Windows. However, there are several instances where Windows-specific (cmd) syntax is used or presented first, such as for 'iotedge logs', 'docker rm', and 'iotedge restart'. There are no explicit PowerShell examples, but the use of 'cmd' blocks and lack of explicit Linux alternatives in some sections may confuse Linux users. Additionally, some commands (like 'docker rm') are shown only in Windows cmd syntax, and the documentation does not clarify platform differences where they may exist.
Recommendations
  • For every 'cmd' example, provide a corresponding 'bash' example or clarify that the command is identical on both platforms.
  • When presenting commands, avoid using 'cmd' blocks unless there is a Windows-specific syntax difference; otherwise, use 'bash' or a neutral code block.
  • If there are platform-specific behaviors or prerequisites (such as service names, log file locations, or command syntax), explicitly document them for both Windows and Linux.
  • Consider adding a section at the top clarifying that all commands are cross-platform unless otherwise noted, and specify any exceptions.
  • Where tools or commands are platform-specific (e.g., service management), provide both Windows and Linux instructions.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Clean Clean
2026-01-13 00:00 #246 completed Clean Clean
2026-01-11 00:00 #240 completed Clean Clean
2026-01-10 00:00 #237 completed Clean Clean
2026-01-09 00:34 #234 completed Clean Clean
2026-01-08 00:53 #231 completed Clean Clean
2026-01-06 18:15 #225 cancelled Clean Clean
2025-08-22 00:01 #88 completed Clean Clean
2025-08-17 00:01 #83 cancelled Clean Clean
2025-07-13 21:37 #48 completed Biased Biased
2025-07-12 23:44 #41 cancelled Biased Biased
2025-07-09 13:09 #3 cancelled Clean Clean
2025-07-08 04:23 #2 cancelled Biased Biased

Flagged Code Snippets