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_first
⚠️ missing_linux_example
⚠️ windows_tools
Summary:
The documentation demonstrates a Windows bias by providing detailed PowerShell instructions and scripts for importing VMs, with no equivalent examples or scripts for Linux users (e.g., Bash, Azure CLI). PowerShell is a Windows-centric tool, and its exclusive use may hinder Linux users. The REST API section is platform-neutral, but the only scripted example is for PowerShell, and there is no mention of Linux command-line tools or workflows.
Recommendations:
  • Add equivalent instructions and sample scripts using Azure CLI (az) for Linux/macOS users.
  • Provide Bash shell examples for invoking the REST API (e.g., using curl or httpie).
  • Mention that PowerShell Core is cross-platform, but clarify if the provided script works on Linux/macOS or only on Windows PowerShell.
  • Include a table or section comparing Windows and Linux approaches to importing VMs.
  • Ensure that any downloadable scripts are compatible with both Windows and Linux environments, or provide separate versions if necessary.
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 ✅ Clean
2025-07-09 13:09 #3 cancelled ✅ Clean
2025-07-08 04:23 #2 cancelled ❌ Biased

Flagged Code Snippets

./ImportVirtualMachines.ps1 -SourceSubscriptionId "<ID of the subscription that contains the source lab>"` -SourceDevTestLabName "<Name of the source lab>"` -SourceVirtualMachineName "<Name of the VM to import from the source lab>" ` -DestinationSubscriptionId "<ID of the subscription that contains the destination lab>"` -DestinationDevTestLabName "<Name of the destination lab>"` -DestinationVirtualMachineName "<Optional: Specify a new name for the imported VM in the destination lab>"