How to stop Powershell insisting on one dash in parameters?

Posted by Julian Birch on Stack Overflow See other posts from Stack Overflow or by Julian Birch
Published on 2010-06-09T20:35:44Z Indexed on 2010/06/09 20:42 UTC
Read the original article Hit count: 157

Filed under:

It seems that somebody has subtly changed the way that parameter switches are parsed on powershell. On some machines "split-path c:\x\y --parent" works. On some it fails. Can anyone tell me a) what causes the difference and b) how can I stop it?

© Stack Overflow or respective owner

Related posts about powershell