-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage Example #8
Comments
Hey, seems i may have not written the readme that well. You are not supposed to use hiddenw.exe as is! You rename it to the tool-name you want to execute without a window, and put it next to that other file. E.g.: you want to run pwsh.exe but without a window (with whatever parameters you want) PS: you cant find anything on pwshw or powershellw, because there is nothing :D |
so... if I get what you're saying... instead of I would like to contain this into its own thing rather than to the system's ENV or PATH if at all possible. |
I don't get what you mean by containing it. You can put it in any folder you like. As long as it can be found from where you are using it, v you should be good. If you make the file pwshw.exe it will try to call pwsh.exe. if you make it powershellw.exe, it will try to call powershell.exe. it will call the first instance of the executable it can find in your PATH. if you put the renamed file right next to the target, this lookup will just be so much faster 😊 |
Hello,
Sorry to be a complete newbie on this. How do you exactly use hiddenw.exe with arguments? I've tried something like the following:
.\hiddenw.exe "Powershell -executionpolicy bypass -file .\Create-IntuneSystemtrayV2.ps1"
only for the log to respond with "Unable to find target executable name in own executable name."I was trying to find articles in regards to powershellw.exe or pwshw.exe but couldn't find a solid posting or article. I remember it being referenced a few times in the past, but it seems like the topic disappear from the entire internet. My powershell is essentially a system tray application that spits unnecessary information on the console that I would like to hide.
The text was updated successfully, but these errors were encountered: