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:
⚠️ windows_first
⚠️ powershell_heavy
⚠️ windows_tools
Summary:
The documentation provides both Windows (PowerShell) and Linux (bash) examples for running the installation scripts, but the Windows example is presented first and with more detail (e.g., explicit note about execution policy). There is a slight emphasis on Windows tools and conventions, such as referencing PowerShell's execution policy and using Windows-style file paths in JSON examples. Linux instructions are present but less detailed, and there is no mention of Linux-specific troubleshooting or considerations.
Recommendations:
  • Present Linux and Windows examples in parallel tabs or with equal prominence, or alternate which OS is shown first.
  • Provide Linux-specific troubleshooting notes, such as handling permissions, shell differences, or common errors.
  • Use OS-agnostic file path examples in JSON (e.g., /home/user/cert.crt for Linux, C:\Users\user\cert.crt for Windows), or show both.
  • Mention any dependencies or prerequisites for both Windows and Linux environments (e.g., required shell, package managers, or permissions).
  • Ensure that all script instructions (such as extracting files, running scripts, or configuring proxies) are equally detailed for both platforms.
  • Avoid assuming PowerShell as the default scripting environment; clarify when bash or sh is equally supported.
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

Set-ExecutionPolicy -Scope Process -ExecutionPolicy ByPass; .\run.ps1 -Operation onboard -FilePath {config-json-path}
{ "subscriptionId": "", "resourceGroup": "", "privateCloud": "", "isStatic": true, "staticIpNetworkDetails": { "networkForApplianceVM": "", "networkCIDRForApplianceVM": "" }, "applianceProxyDetails": { "http": "", "https": "", "noProxy": "", "certificateFilePath": "" }, "managementProxyDetails": { "http": "", "https": "", "noProxy": "", "certificateFilePath": "" } } applianceProxyDetails - Provide the proxy details that needs to be used for the deployment of Arc Appliance in the network. managementProxyDetails - Provide the proxy details need to be used on management VM for running of the script. Provide these details only if you want to set or override the existing proxy settings on management VM. "http" - Proxy server address for http requests. "https" - Proxy server address for https requests. "noProxy" - The list of addresses that should be excluded from proxy. The endpoints those need to be excluded for Arc Deployment for both appliance and management VM are -localhost,127.0.0.1,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16, <esxihost endpoints common suffix> "certificateFilePath" - The certificate that has to be used for authentication if it is an SSL proxy. For more details on proxy configuration for Arc Deployment, Please check https://learn.microsoft.com/en-us/azure/azure-arc/resource-bridge/network-requirements#ssl-proxy-configuration Example: { { "subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx", "resourceGroup": "test-rg", "privateCloud": "test-pc", "isStatic": true, "staticIpNetworkDetails": { "networkForApplianceVM": "arc-segment", "networkCIDRForApplianceVM": "10.14.10.1/28" } } , "applianceProxyDetails": { "http": "http://contoso-proxy.com", "https": "https://contoso-proxysecured.com", "noProxy": "localhost,127.0.0.1,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.5edef8ac24a6b4567785cd.australiaeast.avs.azure.com", "certificateFilePath": "C:\Users\sampleUser.sslProxy.crt" }, "managementProxyDetails": { "http": " http://contoso-proxy.com ", "https": "https://contoso-proxysecured.com", "noProxy": "localhost,127.0.0.1,.svc,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,.5edef8ac24a6b4567785cd.australiaeast.avs.azure.com", "certificateFilePath": “C:\Users\sampleUser.sslProxy.crt" } }