Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 8583

Converted ps1 script to exe using Make-Ps1ExeWrapperWithArgs.ps1 by Keith Hill

$
0
0

I converted my powershell script to exe using the Make-Ps1ExeWrapperWithArgs.ps1 script by Keith Hill.  My script is a complete GUI interface and so I do not need the powershell console window sitting in the background.  Before I converted to exe I used a cmd file to hide the console window so all you saw was the GUI, but now I cannot figure out how to make that happen.  I have tried everything I can think of and either it does not work at all or it hides both the GUI and the powershell console window.  Before anyone asks I did ask on Keith Hills blog but I have found it was deleted apparently.  I am slowly recoding this script into C# which will eliminate this but that will take a while as it is 10,000 lines of code. At the very least if I could just minimize the console window, any help appreciated.  


Viewing all articles
Browse latest Browse all 8583

Trending Articles