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 <script>.ps1")
0 comments
Hide comments