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_tools
⚠️ windows_first
⚠️ missing_linux_example
Summary:
The documentation demonstrates a moderate Windows bias. PowerShell is featured as a primary method for command-line interaction, with explicit instructions to 'open a Windows PowerShell command window' and examples using Windows-style paths (e.g., C:\temp\index.html). The CLI section references 'Windows PowerShell' as a console option, and there are no explicit Linux/macOS shell examples or mentions of Bash, zsh, or Linux file paths. Linux-specific considerations for file paths, shell environments, or installation methods are missing, and Windows tools and conventions are prioritized or exclusively mentioned.
Recommendations:
  • In CLI sections, refer to 'a terminal or command prompt' instead of specifically 'Windows PowerShell', and provide examples for both Windows and Linux/macOS shells.
  • When giving file path examples, include both Windows (C:\path) and Linux (/home/user/path) formats.
  • In PowerShell sections, clarify that PowerShell Core is cross-platform and can be used on Linux/macOS, or provide Bash equivalents where possible.
  • Explicitly mention that Azure CLI and AzCopy are cross-platform, and provide installation and usage notes for Linux/macOS users.
  • Add notes or tabs for Bash/Linux shell usage alongside PowerShell, especially for upload and configuration commands.
  • Avoid language that assumes a Windows environment (e.g., 'Open a Windows PowerShell command window') or supplement with Linux/macOS alternatives.
GitHub Create pull request

Scan History

Date Scan ID Status Bias Status
2025-08-19 00:01 #85 completed ✅ Clean
2025-07-13 21:37 #48 completed ✅ Clean
2025-07-12 23:44 #41 in_progress ❌ Biased

Flagged Code Snippets

- Replace the `<storage-account-name>` placeholder value with the name of your storage account. - Replace the `<error-document-name>` placeholder with the name of the error document that will appear to users when a browser requests a page on your site that does not exist. - Replace the `<index-document-name>` placeholder with the name of the index document. This document is commonly "index.html". ### [PowerShell](#tab/azure-powershell) <a id="powershell"></a> You can enable static website hosting by using the Azure PowerShell module. 1. Open a Windows PowerShell command window. 2. Verify that you have Azure PowerShell module Az version 0.7 or later.
If you need to install or upgrade, see [Install Azure PowerShell module](/powershell/azure/install-azure-powershell). 3. Sign in to your Azure subscription with the `Connect-AzAccount` command and follow the on-screen directions.
- Replace the `<storage-account-name>` placeholder value with the name of your storage account. - Replace the `<resource-group-name>` placeholder value with the name of your resource group. ### [PowerShell](#tab/azure-powershell) Find the public URL of your static website by using by using the following command:
> [!NOTE] > If the browser prompts users users to download the file instead of rendering the contents, you can append `-Properties @{ ContentType = "text/html; charset=utf-8";}` to the command. - Replace the `<path-to-file>` placeholder value with the fully qualified path to the file that you want to upload (For example: `C:\temp\index.html`). - Replace the `<blob-name>` placeholder value with the name that you want to give the resulting blob (For example: `index.html`). --- <a id="portal-find-url"></a> ## Find the website URL You can view the pages of your site from a browser by using the public URL of the website. ### [Portal](#tab/azure-portal) In the pane that appears beside the account overview page of your storage account, select **Static Website**. The URL of your site appears in the **Primary endpoint** field. ![Azure Storage static websites metrics metric](./media/storage-blob-static-website/storage-blob-static-website-url.png) ### [Azure CLI](#tab/azure-cli) Find the public URL of your static website by using the following command: