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
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 ID Status Bias Status
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

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