Created
April 25, 2016 16:23
-
-
Save dogramacigokhan/83b88aa66402c3a281cb82fa7a7b00a8 to your computer and use it in GitHub Desktop.
VB script to run powershell script silently
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
| Dim shell,command | |
| command = "powershell.exe -nologo -command "".\himawari.ps1""" | |
| Set shell = CreateObject("WScript.Shell") | |
| shell.Run command,0 |
You can use curl to download the script from server
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello thanks for the script but first i want to download powershell script from server and then run it using vb script