Bias Analysis
Detected Bias Types
powershell_heavy
windows_first
missing_linux_example
Summary
The documentation page demonstrates Windows bias by providing only PowerShell examples for Azure Resource Graph queries, omitting equivalent Linux-friendly shell (bash/az CLI) examples. The use of PowerShell syntax (e.g., | %{ ... }) in Azure CLI command snippets further reinforces a Windows-centric approach, potentially confusing Linux users. While crontab is mentioned for scheduling, all code samples and query instructions are tailored to Windows/PowerShell environments, with no direct Linux or bash alternatives.
Recommendations
- Provide bash/Azure CLI examples for all PowerShell queries, especially for ARG queries.
- Replace PowerShell-specific pipeline syntax (e.g., | %{ ... }) with bash equivalents (e.g., xargs or while read loops) in Azure CLI command samples.
- Explicitly mention cross-platform usage and clarify which commands are suitable for Linux/macOS environments.
- Add notes or sections for Linux users, including how to run queries and schedule tasks using native Linux tools.
- Ensure that examples are presented in both PowerShell and bash, or use platform-neutral Azure CLI syntax where possible.
Create Pull Request