Detected Bias Types
Powershell Heavy
Windows First
🔧
Windows Tools
Summary
The documentation provides both Azure CLI and PowerShell examples for creating VMs from generalized images in an Azure Compute Gallery. However, PowerShell examples are heavily focused on Windows workflows, with commands like Set-AzVMOperatingSystem -Windows and explicit references to Windows-specific configuration (e.g., RDP rules, Windows credential prompts). In several PowerShell code blocks, only Windows VM creation is shown, with no Linux equivalent. Additionally, in the full parameter set for PowerShell, the operating system is always set to Windows, and network security rules are configured for RDP (port 3389), which is Windows-specific. The CLI examples are more Linux-friendly, but PowerShell examples are presented before or alongside CLI, and the PowerShell workflow is Windows-centric. REST and Portal instructions do show both Linux and Windows options, but the PowerShell bias may create friction for Linux/macOS users who prefer scripting in PowerShell or need parity.
Recommendations
- Add PowerShell examples for creating Linux VMs, using Set-AzVMOperatingSystem -Linux and appropriate credential handling (e.g., SSH keys).
- In PowerShell sections, clarify when the example is Windows-only and provide Linux alternatives where possible.
- Ensure network security group rules in PowerShell examples include SSH (port 22) for Linux VMs, not just RDP (port 3389) for Windows.
- Consider presenting CLI examples before PowerShell, as CLI is cross-platform and more Linux/macOS friendly.
- Explicitly state OS options in PowerShell examples, and provide guidance for both Windows and Linux VM creation.