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_first
missing_linux_example
Summary
The documentation page provides detailed instructions and examples for rebooting HDInsight cluster VMs using PowerShell (a Windows-centric tool) and REST API, but does not include any Linux-native CLI examples (such as Azure CLI or Bash scripts). The PowerShell method is presented first, and there are no references to Linux tools or command-line patterns, which may disadvantage users working from Linux or macOS environments.
Recommendations
  • Add equivalent Azure CLI (az hdinsight) commands for listing and restarting nodes, with example syntax.
  • Include Bash script examples for interacting with the REST API using curl or httpie, demonstrating how to authenticate and send requests from Linux/macOS.
  • Mention cross-platform tools (such as Azure CLI) before or alongside PowerShell to ensure parity.
  • Clarify that PowerShell examples can be run on PowerShell Core (cross-platform), if applicable, or provide guidance for Linux/macOS users.
  • Ensure that all steps and code samples are available for both Windows and Linux users to avoid platform bias.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-14 00:00 #250 in_progress Biased Biased
2026-01-13 00:00 #246 completed Biased Biased
2026-01-11 00:00 #240 completed Biased Biased
2026-01-10 00:00 #237 completed Biased Biased
2026-01-09 00:34 #234 completed Biased Biased
2026-01-08 00:53 #231 completed Biased Biased
2026-01-06 18:15 #225 cancelled 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

      Get-AzHDInsightHost -ClusterName myclustername
      
      Restart-AzHDInsightHost -ClusterName myclustername -Name wn0-myclus, wn1-myclus