Call PowerShell from VBScript

Learn the easy way to call PowerShell from VBScript

John Savill

July 3, 2016

1 Min Read
Call PowerShell from VBScript

Q. How can I call PowerShell from VBScript?

A. Calling PowerShell from VBScript is simple through the Wscript.Shell object. For example:

Set objShell = CreateObject("Wscript.Shell")objShell.run("powershell.exe -nologo -file  

About the Author(s)

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like