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_tools
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation page demonstrates a moderate Windows bias. PowerShell is used for several automation examples, including ARM template deployment and enabling encryption at host, without providing equivalent Bash or Linux shell examples. Windows-centric tools and patterns (e.g., PowerShell cmdlets, references to Undo-AzKeyVaultKeyRemoval) are mentioned, sometimes before or instead of cross-platform or Linux-native alternatives. There are no explicit Linux shell (bash) command examples for key operations, and the documentation assumes familiarity with Windows tooling.
Recommendations:
  • For every PowerShell example, provide an equivalent Bash (Linux shell) example, especially for ARM template deployment and cluster creation.
  • When referencing recovery or management tools (e.g., Undo-AzKeyVaultKeyRemoval), also mention and provide examples for the Azure CLI or REST API equivalents.
  • Avoid assuming the use of Windows tools by default; clarify that both Windows and Linux users are supported and provide parity in instructions.
  • Where possible, use Azure CLI as the primary example, as it is cross-platform, and supplement with both PowerShell and Bash examples.
  • Explicitly mention that HDInsight clusters are Linux-based by default, and provide guidance for Linux users where relevant.
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-06 00:00 #103 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

$templateFile = "azuredeploy.json" $ResourceGroupName = "MyResourceGroup" $clusterName = "MyCluster" $password = ConvertTo-SecureString 'HttpPassword1234!' -AsPlainText -Force $diskEncryptionVaultUri = "https://MyKeyVault.vault.azure.net" $diskEncryptionKeyName = "SparkClusterKey" $diskEncryptionKeyVersion = "00000000000000000000000000000000" $managedIdentityName = "MyMSI" New-AzResourceGroupDeployment ` -Name mySpark ` -TemplateFile $templateFile ` -ResourceGroupName $ResourceGroupName ` -clusterName $clusterName ` -clusterLoginPassword $password ` ` -sshPassword $password ` -diskEncryptionVaultUri $diskEncryptionVaultUri ` -diskEncryptionKeyName $diskEncryptionKeyName ` -diskEncryptionKeyVersion $diskEncryptionKeyVersion ` -managedIdentityName $managedIdentityName