Sad Tux - Windows bias detected
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

Detected Bias Types
powershell_heavy
windows_tools
missing_linux_example
windows_first
Summary
The documentation page exclusively uses PowerShell and Windows-centric tooling (PowerShell Gallery, PowerShell ISE) for all examples and instructions. There are no references to Linux-native tools, Bash, or cross-platform alternatives for authoring or deploying runbooks. The instructions assume the user is familiar with PowerShell and Windows environments, and do not provide parity for Linux users or those preferring AWS CLI or Python SDKs.
Recommendations
  • Add equivalent examples using Bash scripts and the AWS CLI for VM provisioning.
  • Include instructions for importing and using AWS CLI or Python modules in Azure Automation, which are supported on Linux-based Hybrid Runbook Workers.
  • Mention cross-platform editors (such as VS Code) and how to author runbooks for Linux environments.
  • Provide guidance on authenticating to AWS using environment variables or credential files, which are common on Linux.
  • Clarify which steps are Windows-specific and offer Linux alternatives where possible.
  • Reference AWS documentation for Linux and CLI usage alongside PowerShell links.
GitHub Create Pull Request

Scan History

Date Scan Status Result
2026-01-13 06:17 #107 completed Biased Biased
2026-01-12 00:00 #99 completed Biased Biased
2026-01-11 06:20 #98 completed Biased Biased
2026-01-11 00:00 #95 cancelled Clean Clean
2026-01-10 00:00 #92 completed Clean Clean
2026-01-09 00:00 #87 cancelled Clean Clean
2026-01-06 22:28 #78 completed Clean Clean
2025-12-29 18:00 #48 cancelled Biased Biased
2025-12-15 00:00 #7 completed Clean Clean
2025-12-14 05:05 #6 completed Clean 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