Skip to content

fix: use -OutFile instead of ambiguous -o in PowerShell install command#3206

Open
raman1236 wants to merge 1 commit intodevspace-sh:mainfrom
raman1236:fix/powershell-outfile-parameter
Open

fix: use -OutFile instead of ambiguous -o in PowerShell install command#3206
raman1236 wants to merge 1 commit intodevspace-sh:mainfrom
raman1236:fix/powershell-outfile-parameter

Conversation

@raman1236
Copy link
Copy Markdown

Description

Replace the ambiguous -o parameter with the full -OutFile parameter in PowerShell installation commands.

Problem

In PowerShell 7.6.0+, the -o shorthand for Invoke-WebRequest is ambiguous because it matches multiple parameters:

  • -OperationTimeoutSeconds
  • -OutFile
  • -OutVariable
  • -OutBuffer

This causes the installation command to fail with:

Invoke-WebRequest: Parameter cannot be processed because the parameter name 'o' is ambiguous.

Fix

Replace -o with the full -OutFile parameter in all 3 installation documentation files:

  • docs/pages/_partials/install-cli.mdx
  • docs/versioned_docs/version-4.x/getting-started/installation.mdx
  • docs/versioned_docs/version-5.x/fragments/install-cli.mdx

Fixes #3199

In PowerShell 7.6.0+, the -o shorthand for Invoke-WebRequest is
ambiguous because it matches multiple parameters (-OperationTimeoutSeconds,
-OutFile, -OutVariable, -OutBuffer), causing the install command to fail.

Replace -o with the full -OutFile parameter in all installation
documentation files.

Fixes devspace-sh#3199
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 6, 2026

Deploy Preview for devspace-docs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 6f56a5c
🔍 Latest deploy log https://app.netlify.com/projects/devspace-docs/deploys/69d3ecdac68ec5000865d35e
😎 Deploy Preview https://deploy-preview-3206--devspace-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Windows PowerShell install command fails with ambiguous -o parameter

2 participants