Skip to content

Instantly share code, notes, and snippets.

@dogramacigokhan
Created April 25, 2016 16:23
Show Gist options
  • Select an option

  • Save dogramacigokhan/83b88aa66402c3a281cb82fa7a7b00a8 to your computer and use it in GitHub Desktop.

Select an option

Save dogramacigokhan/83b88aa66402c3a281cb82fa7a7b00a8 to your computer and use it in GitHub Desktop.
VB script to run powershell script silently
Dim shell,command
command = "powershell.exe -nologo -command "".\himawari.ps1"""
Set shell = CreateObject("WScript.Shell")
shell.Run command,0
@root4031
Copy link

Hello thanks for the script but first i want to download powershell script from server and then run it using vb script

@Adnan4290
Copy link

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