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
⚠️ missing_linux_example
⚠️ windows_first
Summary:
The documentation exclusively uses PowerShell commands and Windows-centric tooling (Az PowerShell module) for all examples and instructions. There are no CLI, Bash, or Linux-native examples or references. The documentation assumes the user is on Windows or using PowerShell, with no mention of cross-platform alternatives or guidance for Linux/macOS users.
Recommendations:
  • Provide equivalent Azure CLI (az) command examples alongside PowerShell commands, as Azure CLI is cross-platform and widely used on Linux/macOS.
  • Explicitly mention that the Az PowerShell module can be used on Linux/macOS via PowerShell Core, or provide installation instructions for those platforms.
  • Add Bash shell examples for common tasks, or at least note how Linux/macOS users can accomplish the same steps.
  • Reorganize sections so that cross-platform tools (like Azure CLI) are presented before or alongside Windows-specific tools.
  • Include a note clarifying platform compatibility for all tools mentioned.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-07-12 23:44 #41 in_progress ❌ Biased
2025-07-12 00:58 #8 cancelled ✅ Clean
2025-07-10 05:06 #7 processing ✅ Clean

Flagged Code Snippets

PS C:\> Connect-AzAccount
PS C:\> Install-Module Az.Communication
PS C:\> New-AzEmailService -ResourceGroupName ContosoResourceProvider1 -Name ContosoEmailServiceResource1 -DataLocation UnitedStates
PS C:\> New-AzEmailService -ResourceGroupName ContosoResourceProvider1 -Name ContosoEmailServiceResource1 -DataLocation UnitedStates -SubscriptionId SubscriptionID
PS C:\> Update-AzEmailService -Name ContosoEmailServiceResource1 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"} PS C:\> Update-AzEmailService -Name ContosoEmailServiceResource1 -ResourceGroupName ContosoResourceProvider1 -Tag @{ExampleKey1="ExampleValue1"} -SubscriptionId SubscriptionID
PS C:\> Get-AzEmailService -SubscriptionId SubscriptionID
PS C:\> Get-AzEmailService -Name ContosoEmailServiceResource1 -ResourceGroupName ContosoResourceProvider1
PS C:\> Remove-AzEmailService -Name ContosoEmailServiceResource1 -ResourceGroupName ContosoResourceProvider1