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 generally provides cross-platform instructions, but there are several areas where Windows and Windows-specific tools or patterns are prioritized or presented first. PowerShell is given its own programming language pivot, and in several command sections, Windows command-line (Cmd) and PowerShell examples are provided before or alongside bash/Linux equivalents. Some sections, such as virtual environment activation for Python, include multiple Windows-specific tabs (bash, Cmd), and PowerShell is treated as a first-class language option. There is also a tendency to refer to 'terminal or command prompt' generically, which can be ambiguous for Linux users.
Recommendations:
- When presenting command examples, alternate the order of Windows and Linux/macOS instructions, or present Linux/macOS first where appropriate.
- Ensure that all command-line instructions are clearly labeled for each platform, and avoid ambiguous terms like 'command prompt' or 'terminal' without specifying the OS.
- For PowerShell, clarify cross-platform support and, where possible, provide bash/zsh equivalents for scripting tasks.
- In sections where Windows-specific tools or patterns are mentioned (such as PowerShell or Cmd), ensure that Linux/macOS alternatives are equally visible and easy to follow.
- Consider adding explicit Linux/macOS troubleshooting notes or common issues, especially for steps that may differ (e.g., file paths, environment variable syntax).
Create pull request
Flagged Code Snippets
py -m venv .venv
source .venv/scripts/activate
azd init --template functions-quickstart-powershell-azd -e flexquickstart-ps
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "powershell",
"FUNCTIONS_WORKER_RUNTIME_VERSION": "7.2"
}
}
py -m venv .venv
.venv\scripts\activate
for /f "tokens=*" %i in ('azd env get-value AZURE_FUNCTION_NAME') do set APP_NAME=%i
func azure functionapp publish %APP_NAME%
SET APP_NAME=(azd env get-value AZURE_FUNCTION_NAME)
func azure functionapp list-functions $APP_NAME --show-keys
for /f "tokens=*" %i in ('azd env get-value AZURE_FUNCTION_NAME') do set APP_NAME=%i
func azure functionapp list-functions %APP_NAME% --show-keys
$APP_NAME = azd env get-value AZURE_FUNCTION_NAME
func azure functionapp list-functions $APP_NAME --show-keys
for /f "tokens=*" %i in ('azd env get-value AZURE_FUNCTION_NAME') do set APP_NAME=%i
func azure functionapp list-functions %APP_NAME% --show-keys