Skip to content

← All questions

PowerShell installer ignores every option I pass it

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

I want the installer to also scaffold a workspace, so I tried adding the parameter to the one-liner:

powershell
irm https://sdods.com/install.ps1 | iex -Workspace C:\my-tests

PowerShell does not like that, and every variation I have tried either errors or installs with the defaults and silently ignores the parameter. What is the correct form?

2 answers

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related