Created
October 6, 2016 08:36
-
-
Save darthwalsh/cdbd331ed9cea80fa5cc632c71512caa to your computer and use it in GitHub Desktop.
WPowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CreateObject("WScript.Shell").Run "powershell.exe -nologo -file """ & WScript.Arguments.Item(0) & """" ,0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Want to run a powershell script without opening a new console window? Save
wpowershell.vbs
to your PATH, then invoke like this: