#1 14 Mar 2019 20:36

Registered: 04 Mar 2019
Posts: 3

PowerShell cannot use --parameter command line

It appears that PowerShell cannot use '--' to indicate a parameter name.

Using '--' is somewhat industry standard. Is there any way to do this with Powershell?


#2 Yesterday 11:49

Simon Sheppard
Super Administrator
Registered: 27 Aug 2005
Posts: 997

Re: PowerShell cannot use --parameter command line

In the bash shell a double dash (--) is used for built-in commands and many other commands to signify the end of command options. i.e. stop parsing and pass anything else on the command line as plain text.

In PowerShell the equivalent is --%


Board footer

Powered by FluxBB