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
Summary:
The documentation page demonstrates a Windows bias by providing detailed instructions and examples exclusively for PowerShell, with no equivalent examples or guidance for Linux users (e.g., Bash, Azure CLI). PowerShell is presented as the primary scripting method, and there is no mention of Linux-native tools or cross-platform alternatives. The REST API section is platform-neutral, but the scripting guidance is Windows-centric.
Recommendations:
  • Add equivalent examples using Azure CLI (az) commands for Linux/macOS users.
  • Provide Bash shell script examples for importing VMs, or at least mention how Linux users can interact with the REST API using curl or similar tools.
  • Explicitly state that the PowerShell script can be run on PowerShell Core (pwsh) on Linux/macOS, if applicable, and provide installation guidance.
  • Reorder or parallelize the scripting sections so that Windows and Linux approaches are presented side-by-side or with equal prominence.
  • Include a note acknowledging cross-platform usage and direct users to relevant resources for their operating system.
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

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>"