locked
Opening a Powershell form RRS feed

  • Question

  • Hello

    I've worked hard at creating my first powershell GUI (form).

    It seems at the moment the only way I can run the form is to open the ISE and run it.  It then displays the form and all is good.

    What is the best way to create this to run as you would run a regular app?  Ex:  double click the file and have it open the form etc.

    Thank You

    Terry

    Thursday, February 14, 2019 5:04 PM

Answers

  • powershell.exe /?

    Live long and prosper!

    (79,108,97,102|%{[char]$_})-join''

    • Marked as answer by terryvanduzee Thursday, February 14, 2019 5:32 PM
    Thursday, February 14, 2019 5:14 PM

All replies

  • powershell.exe /?

    Live long and prosper!

    (79,108,97,102|%{[char]$_})-join''

    • Marked as answer by terryvanduzee Thursday, February 14, 2019 5:32 PM
    Thursday, February 14, 2019 5:14 PM
  • Thank you...

    I created a cmd file with the powershell.exe -file parameter.

    Works great,

    Thank You

    Terry

    Thursday, February 14, 2019 5:32 PM
  • A shortcut would have been enough but anyway if you're lucky with it. ;-)

    Live long and prosper!

    (79,108,97,102|%{[char]$_})-join''

    Thursday, February 14, 2019 5:35 PM