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
⚠️ missing_linux_example
⚠️ windows_tools
⚠️ windows_first
Summary:
The documentation exclusively uses PowerShell-based examples and workflows, referencing the AWS PowerShell module, PowerShell Gallery, and PowerShell ISE. There are no examples or instructions for using Linux-native tools (such as AWS CLI with Bash or Python scripts), nor is there mention of cross-platform scripting options. The documentation assumes a Windows-centric workflow and does not address Linux users or provide parity in tooling or examples.
Recommendations:
  • Provide equivalent instructions and examples using the AWS CLI in Bash or Python scripts for Linux users.
  • Include steps for importing and using AWS CLI modules in Azure Automation, highlighting cross-platform compatibility.
  • Mention and demonstrate how to author runbooks using Python or Bash, not just PowerShell.
  • Avoid referencing Windows-specific tools (e.g., PowerShell ISE) as the only option; suggest alternatives like VS Code or cloud-based editors.
  • Reorder sections or provide parallel instructions so that Linux and cross-platform options are presented alongside or before Windows-specific ones.
  • Explicitly state that Azure Automation supports multiple scripting languages and link to relevant documentation for non-PowerShell options.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-17 00:01 #83 in_progress ✅ Clean
2025-07-13 21:37 #48 completed ❌ Biased
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

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