windows - Is there a way to turn off script parsing in PowerShell and execute commands with raw arguments? -


i'm trying pass raw arguments commands through powershell it's failing. powershell tries evaluate arguments before passed commands , result commands wrong arguments. know if there mode in powershell treat commands , arguments they're typed? alternatively, know powerscript quoting rules can escape parts tries evaluate?

if using powershell v3 use new --% operator e.g.:

tf.exe status --% /workspace:workspacename;* 

everything after --% until end of line not evaluated powershell. behaves kind of cmd.exe in zone. more info on --% see blog post.


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -