Results 1 to 10 of 14

Thread: Run Program - powershell.exe issue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Run Program - powershell.exe issue

    I googled for "A Positional Parameter Cannot Be Found That Accepts Argument Powershell" and there are tons of tips.

    Here is one:

    When you wrap this script in an executable file and use the same command line, it used to fail, because all input strings were interpreted as parameter values. In this case, ‘-Parameter’ was interpreted as the value of the Word parameter and ‘PowerShell’ was interpreted as the value of the Number parameter. The script failed when Windows PowerShell couldn’t convert ‘PowerShell’ to a integer."

    https://www.sapien.com/blog/2015/11/...ecutable-file/

    Perhaps this is similar to your issue?

    Friedrich
    Attached Images Attached Images  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •