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 and Windows-centric tooling (PowerShell Gallery, PowerShell ISE) for all examples and instructions. There are no references to Linux-based automation, Bash, AWS CLI (outside PowerShell), or cross-platform scripting options. All steps assume a Windows/PowerShell environment, and Linux users are not provided with equivalent guidance.
Recommendations:
  • Provide equivalent examples using AWS CLI and Bash scripts for Linux/macOS users.
  • Mention and demonstrate how to use Azure Automation with Python runbooks, which are cross-platform.
  • Include instructions for installing and using the AWS CLI in Azure Automation, not just the PowerShell module.
  • Add notes or sections clarifying how Linux users can author, test, and deploy runbooks (e.g., using Cloud Shell, VS Code, or other cross-platform tools).
  • Balance references to PowerShell Gallery with links to AWS CLI documentation and PyPI (for Python modules) where appropriate.
  • Avoid assuming the use of PowerShell ISE or other Windows-only tools; suggest VS Code or other cross-platform editors.
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
2025-07-09 23:22 #6 cancelled ✅ Clean

Flagged Code Snippets

Save-Script -Name New-AwsVM -Path <path>
#Sample to get the AWS VM available images #Please provide the path where you have downloaded the AWS PowerShell module Import-Module AWSPowerShell $AwsRegion = "us-west-2" $AwsCred = Get-Credential $AwsAccessKeyId = $AwsCred.UserName $AwsSecretKey = $AwsCred.GetNetworkCredential().Password # Set up the environment to access AWS Set-AwsCredentials -AccessKey $AwsAccessKeyId -SecretKey $AwsSecretKey -StoreAs AWSProfile Set-DefaultAWSRegion -Region $AwsRegion Get-EC2ImageByName -ProfileName AWSProfile