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

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -