3 Replies Latest reply on May 14, 2013 8:39 PM by Siddu angadi

    Any powershell guru's out there?

      Share This:


      I am calling an executable from a powershell script that has a long horrible string of arguments that I need to pass to the exe.  I believe I am passing the arguments in exactly the same format as I am doing as if I was running it from command line, but it does not work.

      This is the command that works at command line.  Pcli.exe -idUSER:PASSWORD -r1.0 -pr"\\server\STRING-PVCS\CONFIDENTIAL\server" -a"c:\temp\testingPcvs" -z /Oracle-Baseline/apps/test.txt


      I have tried invoke-command, invoke-process etc.  But I really don’t have experience with passing arguments of this length to that command.  Any ideas?