Answer the question
In order to leave comments, you need to log in
How to call WSH from POWERSHELL?
How to call WSH from POWERSHELL?
Answer the question
In order to leave comments, you need to log in
var shell = new ActiveXObject("WScript.Shell");
WScript.Echo(shell.exec("powershell -Command $Host.Version; Exit").StdOut.ReadAll());
Read manuals
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question